【问题标题】:Genymotion does not start.Genymotion 没有启动。
【发布时间】:2014-04-27 17:47:31
【问题描述】:

在设备上开始思考很长时间,然后给出:

VirtualBox 显示如下信息:

在日志中:

апр 28 00:16:21 [Genymotion] [Debug] Starting player at  "/home/nord/Programms/genymotion" 
апр 28 00:16:21 [Genymotion Player] [Debug] [ADB] Use Genymotion Android tools: "/home/nord/Programms/genymotion/tools/adb" 
апр 28 00:16:21 [Genymotion Player] [Warning] Unable to load translations. Falling back to english 
апр 28 00:16:21 [Genymotion Player] [Debug] Proxy configuration: no proxy used 
апр 28 00:16:21 [Genymotion Player] [Warning] ****  STARTING VIRTUAL DEVICE  **** 
апр 28 00:16:21 [Genymotion Player] [Warning] Player version: 2.2.0 
апр 28 00:16:21 [Genymotion Player] [Debug] Loading "vboxmanage" plugin 
апр 28 00:16:21 [Genymotion Player] [Debug] Plugin "vboxmanage" loaded 
апр 28 00:16:21 [Genymotion Player] [Debug] Chipset: "GenuineIntel" 
апр 28 00:16:21 [Genymotion Player] [Debug] CPUID 0x1 (Intel): ECX= "7fbae3bf" 
апр 28 00:16:21 [Genymotion Player] [Debug] [VBoxManageCore] Path: "VBoxManage" 
апр 28 00:16:21 [Genymotion Player] [Debug] VBoxManage ("list", "hostinfo") returns 0 
апр 28 00:16:21 [Genymotion Player] [Debug] [System properties] Online physical CPU number: 4 
апр 28 00:16:21 [Genymotion Player] [Debug] [System properties] Online virtual CPU number: 2 
апр 28 00:16:21 [Genymotion Player] [Debug] [System properties] Max CPU number: 8 
апр 28 00:16:21 [Genymotion Player] [Debug] [System properties] Max memory size: 7850 
апр 28 00:16:21 [Genymotion Player] [Debug] VBoxManage ("list", "hostonlyifs") returns 0 
апр 28 00:16:21 [Genymotion Player] [Debug] VBoxManage ("--version") returns 0 
апр 28 00:16:21 [Genymotion Player] [Debug] VM engine version: "4.3.10_Ubuntur93012" 
апр 28 00:16:21 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "Sony Xperia Z - 4.3 - API 18 - 1080x1920") returns 0 
апр 28 00:16:21 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "enumerate", "Sony Xperia Z - 4.3 - API 18 - 1080x1920") returns 0 
апр 28 00:16:21 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "Sony Xperia Z - 4.3 - API 18 - 1080x1920") returns 0 
апр 28 00:16:21 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "Sony Xperia Z - 4.3 - API 18 - 1080x1920") returns 0 

Genymotion 版本 2.2.0,VirtualBox 是 4.3.10。

【问题讨论】:

  • 你能解决这个问题吗?我也遇到过。
  • 不,我不能,我已经安装了用于 Android 开发的 Windows。

标签: virtualbox genymotion


【解决方案1】:

对我来说,这个问题是由连接了 Cisco Anyconnect VPN 引起的(或者在我再次清除了我的 VirtualBox Host-Only 网络“vboxnet0”后已经连接)。

基本上,似乎发生的事情是连接到 VPN 会立即破坏我的 VirtualBox 的仅主机“vboxnet0”网络。即使我从 VPN 断开连接,我也无法启动 Genymotion,直到我执行以下操作(顺便说一下,这解决了启动 Genymotion 的所有问题的大部分):

  1. 打开 VirtualBox
  2. 转到首选项(CMD + ,在 Mac 上,CTRL + G 在 PC 上)
  3. 转到网络(在 Mac 上,还单击 Host-Only Networks)
  4. 突出显示仅主机适配器(Mac 上的“vboxnet0”,PC 上的“VirtualBox Host-Only Ethernet Adapter”)
  5. 点击删除图标(在适配器列表右侧,网卡图标上带有减号的中心图标)
  6. 按 OK 并关闭 VirtualBox

注意:我从来没有让 Genymotion 在 VPN 连接时启动! Cisco Anyconnect 似乎希望将所有仅限主机的仿真器流量通过其隧道引导到无处可去,这是我最好的猜测。您必须断开与 VPN 的连接才能使用 Genymotion! (至少,直到有人弄清楚并分享如何告诉 Anyconnect 完全忽略 VirtualBox vboxnet0 网络,我不知道该怎么做)

另外:值得! Android AVD 模拟器很糟糕,即使有英特尔 HAXM 增强功能...Genymotion 好多了,我以开发 Android 为生,它让我的生活变得如此轻松:D

编辑:包括来自 malcubierre 的命令行解决方案: VBoxManage hostonlyif remove vboxnet0

【讨论】:

  • 我遇到了类似的问题(尽管是在 Windows 上),我终于可以按照我想要的方式使用 Genymotion。谢谢
  • 太棒了!很高兴听到我正在帮助至少一个人再也不必与 Android AVD 模拟器打交道!
  • 我没有找到这个按钮,我通过命令删除了适配器:VBoxManage hostonlyif remove vboxnet1(用你的适配器名称替换 vboxnet1)。终于成功了!
  • 注意:我已经有一段时间不需要在我的 Mac 上执行此操作了。我不确定这是否是由于最近对以下任何一项进行了更新:我的 VPN 软件、VirtualBox 或 Genymotion
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-10-02
  • 2015-05-17
  • 2016-11-11
  • 2013-11-08
  • 2015-06-09
  • 1970-01-01
  • 2014-04-20
相关资源
最近更新 更多