移动测试基础 Genymotion 打开报错 The Genymotion virtual device could not obtain an IP address

shela2009 · 2016年06月16日 · 2063 次阅读

在看某些帖子的时候介绍过一款很好用的模拟器 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,有人也遇到这样的问题吗?想问问有没有解决方法。

共收到 8 条回复 时间 点赞
匿名 #1 · 2019年12月05日

我也遇到这个问题,最后解决了吗?

#3 楼 @kukaka windows 10 ,64 位

#4 楼 @itesting 这个我也看过,我就是照着这个修改的网络配置。你看一下我上面贴的图,配置都是一样的

#1 楼 @kukaka 不是虚拟化的问题,基本确定是虚拟机网络没配置好

—— 来自 TesterHome 官方 安卓客户端

#2 楼 @blue_momo2009 Windows 自带的虚拟化平台。你是啥系统啊?BIOS 里边的虚拟化开了吗?

#1 楼 @kukaka 那是啥?

你是不是启用了 Hyper-v 了?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册