ubuntu14.04下 Android虚拟机 genymotion 的下载和安装

官网:https://www.genymotion.com/

Install Guide

https://www.genymotion.com/#!/developers/user-guide#installing-genymotion

-----------------------------------------------------------------------------------------

要下载,必须先注册。在使用虚拟机的时候也会用到该账户

 

1. 下载安装VirtualBox

   不要使用  sudo apt-get install virtualbox, 否则会导致虚拟机启动失败.

下载版本合适的VirtualBox, https://www.virtualbox.org/wiki/Downloads
sudo usermod -a -G vboxusers carloz

carloz@linux:~/Downloads$ sudo apt-get remove virtualbox
carloz@linux:~/Downloads$ sudo dpkg -i virtualbox-4.3_4.3.20-96996-Ubuntu-raring_amd64.deb

carloz@linux:~/Downloads$ sudo /etc/init.d/vboxdrv status
VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) are loaded.
carloz@linux:~/Downloads$

 

    大功告成



2. 下载安装genymotion

carloz@linux:~/programfiles/android-genymotion$ ls
genymotion-2.5.2_x64.bin
carloz@linux:~/programfiles/android-genymotion$ chmod u+x genymotion-2.5.2_x64.bin

carloz@linux:~/programfiles/android-genymotion$ sudo ./genymotion-2.5.2_x64.bin

carloz@linux:~/programfiles/android-genymotion$ ls
genymotion genymotion-2.5.2_x64.bin
carloz@linux:~/programfiles/android-genymotion$ cd genymotion/

carloz@linux:~/programfiles/android-genymotion/genymotion$ sudo ./genymotion

 

创建一个三星S5的虚拟机, 会联网下载

 

3. 在Android Studio中配置

 

 

 

 

碰到的问题;
 1.  Fail to deploy virtual device

    Unable to create virtual device: Failed to write virtual device description file

    解决方案:   sudo ./genymotion    sudo必须有

 

posted @ 2015-09-21 21:33  carlo-z  阅读(398)  评论(0编辑  收藏  举报