在看某些帖子的时候介绍过一款很好用的模拟器 Genymotion,Android sdk 自带的模拟器的确很难用,于是就去官网下载,安装后一直报错,无法打开模拟器,在网上也找过解决办法,几乎都试过,依然不行。

步骤:

  1. 去官网https://www.genymotion.com/download/下载,由于我的电脑是没有 VirtualBox 的,选择了 with VirtualBox 的版本
  2. 安装,先安装的 genymotion,然后是 virtualbox
  3. 安装完成后发现 virtualbox 无法打开,文件夹里的 virtualbox 是空文件夹,于是下了一个 virtualbox 5.0.14.5127 的包安装
  4. genymotion 的安装路径为:C:\software\Genymobile\Genymotion virtualbox 的安装路径为:C:\software\VirtualBox 电脑:windows 64 位
  5. 打开 genymotion,登录账号,新增一个模拟器 Android 5.1.0- API 22 - 768x1280
  6. 双击该模拟器,starting 之后报错 Unable to start the virtual device. The virtual device got no IP address. The VirtualBox DHCP server has not assigned an IP address to the virtual device. To find a solution, please start VirtualBox.


尝试过的解决:

1、修改 VirtualBox 的管理》全局设定》网络,VirtualBox Host-Only Ethernet Adapter

2、修改模拟器的设置》网络,网卡一、网卡二

3、查找 C:\Users\USER\AppData\Local\Genymobile,寻找 genymotion.log,在里面找 found in settings 即为 VirtualBox 的安装路径。但是我没有找到这个 found in settings

4、缩小模拟器的内存,从 4048MB 修改到 1024MB,修改到 585MB,依然报错

5、先打开 VirtualBox,再打开 genymotion,依然报错。VirtualBox 的 log 显示的是:

按照这个提示,是不是问题在于我的电脑是 64 位,而 VirtualBox 创建的模拟器系统是 Ubuntu-32bit 的呢?可是我在 VirtualBox 的系统选择中,没有找到 64 位的,上网查也说是可以自适应系统的。

上述方法我都试过了,依然无法启动 genymotion,有人也遇到这样的问题吗?想问问有没有解决方法。


↙↙↙阅读原文可查看相关链接,并与作者交流