GenyMotion无法启动Genymotion虚拟设备 [英] GenyMotion Unable to start the Genymotion virtual device

查看:993
本文介绍了GenyMotion无法启动Genymotion虚拟设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跑Genymotion,但得到以下这些信息:

I run Genymotion, but get these information below:

无法启动Genymotion虚拟设备。

Unable to start the Genymotion virtual device.

无法配置网络适配器的虚拟设备。

Unable to configure the network adapter for the virtual device.

请,检查以下几点: 从VirtualBox的,在软件的主要参数,检查网络适配器仅主机是present。 从VirtualBox的,在Genymotion虚拟设备的参数,检查第一个网络接口的类型为仅主机。如果没有,那么手动设置此参数。

Please, check the following points : From VirtualBox, in the main parameters of software, check a network adapter "Host-only" is present. From VirtualBox, in the Genymotion virtual device parameters, check the first network interface has the type "Host-only". If no, then set this parameter manually.

我该如何解决呢?

感谢。问候。

推荐答案

更​​新:在你继续读下去,我要注意,我没有任何问题,因为我升级的VirtualBox 4.3.4

Update: Before you read further, I want to notice that I didn't have any problems since I upgraded VirtualBox to 4.3.4.

我用的VirtualBox 4.3.2的Ubuntu 13.10下。我从Genymotion 2.0.0升级到2.0.1后有同样的问题。

I use VirtualBox 4.3.2 under Ubuntu 13.10. I had same issue after upgrading from Genymotion 2.0.0 to 2.0.1.

这些都是我跟着来解决这个问题的步骤,虽然我不知道哪一个对你的作品。

These are the steps I followed to fix this, although I'm not sure which one works for you.

第1步开始的VirtualBox,进入菜单File / preferences菜单,进入网络部分,选择仅主机网络选项卡。

Step 1. Start VirtualBox, go to menu File/Preferences menu, go to Network section, select Host-only Networks tab.

如果你没有任何适配器定义,那么你可以创建一个(如下图所示),也可以忽略第1步,当您尝试启动VM Genymotion将创建它。

If you don't have any adapter defined, then you can create one (as indicated below) or you can ignore step 1 and Genymotion will create it when you try to start the VM.

如果你有一个适配器有(vboxnet0)单击编辑按钮。在编辑窗口中,您必须启用DHCP服务器和IP地址和分配服务器池必须是内同一网络中网络控制器的IP地址。比如,我用:

If you do have an adapter there (vboxnet0) click the edit button. In the edit window, you must have DHCP server enabled AND the IP address and allocation pool of the server must be inside same network as the IP of the network controller. For example, I use:

  • 在IPv4地址/网络掩码:192.168.56.1/255.255.255.0(在适配器选项卡)
  • 在DHCP服务器上启用检查(DHCP服务器选项卡上)
  • 在服务器地址/子网掩码:192.168.56.100/255.255.255.0
  • 在服务器低/高地址:192.168.56.100/192.168.56.254

不过在VirtualBox中,选择Android虚拟机,那么请单击设置按钮,选择网络部分。在适配器1选项卡,你应该有:

Still in VirtualBox, select the Android VM you have, click Settings button, select Network section. In the Adapter 1 tab, you should have:

  • 启用网络适配器检查
  • 附:仅主机适配器
  • 名称:vboxnet0

通常情况下,如果你把所有这些设置,它应该工作正常,但它确实不适合我。所以,我搬到了第2步。

Normally, if you have all these settings, it should work ok, but it didn't for me. So I moved to step 2.

第2步。如由Genymotion,开始的VirtualBox,进入菜单File / preferences菜单,进入网络部分,选择仅主机网络选项卡,并删除定义的适配器。

Step 2. As indicated by Genymotion, start VirtualBox, go to menu File/Preferences menu, go to Network section, select Host-only Networks tab and delete the defined adapters.

开始你的虚拟机在Genymotion。 Genymotion将(按上述步骤1)重新用适当的设置适配器

Start your VM in Genymotion. Genymotion will recreate the adapter with proper settings (as described in step 1)

通常情况下,如果第1步,你没有工作,第二步应该工作正常,但它确实不适合我。所以,我搬到了第3步。

Normally, if step 1 didn't work for you, step 2 should work ok, but it didn't for me. So I moved to step 3.

第3步删除并重新创建Android的虚拟机中Genymotion(VirtualBox主机专用网络设置我离开如步骤1中所述)。

Step 3. Delete and recreate the Android VM in Genymotion (VirtualBox host-only network settings I left as described in step 1).

这解决了我的问题,Android的虚拟机工作正常了。祝你好运。

This solved my issue and Android VM works ok now. Good luck.

安德烈。

更新:发布答案,当我第一次启动VM在genymotion一天后,它又再次给了同样的错误,并vboxnetdhcp进程崩溃(并重新启动)。第2次以后开始尝试它工作正常。因此,它可能仍然会有一些小问题出现在VirtualBox中DHCP进程。

Update: A day after posting answer, when I was first starting a VM in genymotion, it gave again same error again and vboxnetdhcp process crashed (and restarted). On second and later start attempts it worked ok. So it might still be some minor issue there with VirtualBox DHCP process.

更新:这个问题似乎存在于这崩溃虚拟盒DHCP服务器:

Update: The issue seems to reside in virtual Box DHCP server which crashes:

/usr/lib/virtualbox/VBoxNetDHCP --network HostInterfaceNetworking-vboxnet0 --trunk-type netflt --trunk-name vboxnet0 --mac-address 08:00:27:72:4C:7B --ip-address 192.168.56.100 --netmask 255.255.255.0 --verbose
Floating point exception (core dumped)

删除并重新创建虚拟机重新固定的问题。也许Genymotion发送一些无效的数据,以垂直框DHCP,使得它崩溃(仍然是一个垂直框,虽然错误)。

Deleting and recreating the VM fixed again the issue. Maybe Genymotion sends some invalid data to VBox DHCP that makes it crash (still a VBox bug though).

这篇关于GenyMotion无法启动Genymotion虚拟设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆