吴小龙同學

Android Studio和Genymotion安装常见错误

整装出发,新的环境,新的开始,加油,骚年。新公司,首先需要安装Android的开发环境,由于被墙,Android Studio首次启动就被卡,Genymotion也遇到了些问题。

Android Studio初次启动卡在download Components



解决方案:

详见:http://blog.csdn.net/u010302764/article/details/42889731

Genymotion下载虚拟镜像Connection timeout

Add new device出现的问题:

1
2
Failed to deploy virtual device.
Unable to create virtual device.Connection timeout occurred.

解决方案:

  1. 当选择Google Nexus 5 - 6.0.0 - API 23 - 1080x1920下载device失败后,到C:\Users\用户主目录\AppData\Local\Genymobile\Genymotion\ova下看到genymotion_vbox86p_6.0_160114_090449.ova,大小却是0KB,在C:\Users\用户主目录\AppData\Local\Genymobile\genymotion.log,打开该文件,找到类似“http://files2.genymotion.com/dists/6.0.0/ova/genymotion_vbox86p_6.0_160114_090449.ova”路径,即您想要下载的镜像文件URL;

  2. 用迅雷去下载,下载完成后放到C:\Users\用户主目录\AppData\Local\Genymobile\Genymotion\ova;

  3. 重新点击Google Nexus 5 - 6.0.0 - API 23 - 1080x1920去下载,验证安装后即会显示在设备列表中。

virtualbox cannot start the virtual device

然后去vbox运行虚拟机,报如下错误:

点击复制看具体错误信息:

1
2
3
4
5
6
7
不能为虚拟电脑 Google Nexus 5 - 6.0.0 - API 23 - 1080x1920 打开一个新任务.
Unable to load R3 module D:\Program Files\Oracle\VirtualBox/VBoxDD.DLL (VBoxDD): GetLastError=1790 (VERR_UNRESOLVED_ERROR).
返回 代码:E_FAIL (0x80004005)
组件:ConsoleWrap
界面:IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

原因:
宿主机win7用的ghost系统,会破解uxtheme.dll文件,导致virtualbox启动失败

解决方案:
去网上下载Windows7 64bit uxtheme.dll,使用原版的uxtheme.dll替换c:\windows\system32\uxtheme.dll即可。

x86 emulation currently requires hardware acceleration

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
解决方案
详见我的博客:Android之emulator ERROR x86 emulation currently requires hardware acceleration

其他常用的软件

安装自己平时常用的软件,将公司电脑环境变成自己的风格,详见我的博客:我的编码嗜好



联系我

我的微信公众号:吴小龙同学,欢迎关注交流~

剩者为王⑤群:590967484
剩者为王⑤群