使用genymotion和virtualBox

时间:2016-08-04 13:09:13

标签: windows android-studio virtualbox genymotion dhcp

我无法使用虚拟盒启动我的Genymotion虚拟设备..每次我尝试启动我的设备时显示以下错误消息:

当我尝试从我的虚拟机启动虚拟设备时出现以下错误:

enter image description here

我所有完整ip配置的详细列表:

 C:\Users\beetel>ipconfig/all
> 
> Windows IP Configuration
> 
>    Host Name . . . . . . . . . . . . : beetel-PC    Primary Dns Suffix
> . . . . . . . :    Node Type . . . . . . . . . . . . : Hybrid    IP
> Routing Enabled. . . . . . . . : No    WINS Proxy Enabled. . . . . . .
> . : No
> 
> Ethernet adapter Local Area Connection 2:
> 
>    Connection-specific DNS Suffix  . :    Description . . . . . . . .
> . . . : Microsoft Loopback Adapter    Physical Address. . . . . . . .
> . : 02-00-4C-4F-4F-50    DHCP Enabled. . . . . . . . . . . : Yes   
> Autoconfiguration Enabled . . . . : Yes    Link-local IPv6 Address . .
> . . . : fe80::e47e:753b:4c29:a5f1%18(Preferred)    Autoconfiguration
> IPv4 Address. . : 169.254.165.241(Preferred)    Subnet Mask . . . . .
> . . . . . . : 255.255.0.0    Default Gateway . . . . . . . . . :   
> DHCPv6 IAID . . . . . . . . . . . : 369229900    DHCPv6 Client DUID. .
> . . . . . . : 00-01-00-01-15-89-26-AE-10-78-D2-16-02-DE
> 
>    DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
>                                        fec0:0:0:ffff::2%1
>                                        fec0:0:0:ffff::3%1    NetBIOS over Tcpip. . . . . . . . : Enabled
> 
> Wireless LAN adapter Lenovo Easyplus Hotspot :
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Microsoft Virtual WiFi Miniport Adapter    Physical Address. . . .
> . . . . . : 00-E0-4C-04-5F-F1    DHCP Enabled. . . . . . . . . . . :
> Yes    Autoconfiguration Enabled . . . . : Yes
> 
> Wireless LAN adapter Wireless Network Connection:
> 
>    Connection-specific DNS Suffix  . :    Description . . . . . . . .
> . . . : Leoxsys LEO-150N Wireless LAN 802.11n USB
>  2.0 Network Adapter    Physical Address. . . . . . . . . : 00-E0-4C-04-5F-F1    DHCP Enabled. . . . . . . . . . . : Yes   
> Autoconfiguration Enabled . . . . : Yes    Link-local IPv6 Address . .
> . . . : fe80::cce8:4e5f:3c3c:c5a5%12(Preferred)    IPv4 Address. . . .
> . . . . . . . : 192.168.1.3(Preferred)    Subnet Mask . . . . . . . .
> . . . : 255.255.255.0    Lease Obtained. . . . . . . . . . : Thursday,
> 4 August 2016 5:20:45 PM    Lease Expires . . . . . . . . . . :
> Sunday, 7 August 2016 5:20:44 PM    Default Gateway . . . . . . . . .
> : 192.168.1.1    DHCP Server . . . . . . . . . . . : 192.168.1.1   
> DHCPv6 IAID . . . . . . . . . . . : 201384012    DHCPv6 Client DUID. .
> . . . . . . : 00-01-00-01-15-89-26-AE-10-78-D2-16-02-DE
> 
>    DNS Servers . . . . . . . . . . . : 52.35.184.148
>                                        8.8.8.8    NetBIOS over Tcpip. . . . . . . . : Enabled
> 
> Ethernet adapter Local Area Connection:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Realtek PCIe FE Family Controller    Physical Address. . . . . . .
> . . : 10-78-D2-16-02-DE    DHCP Enabled. . . . . . . . . . . : Yes   
> Autoconfiguration Enabled . . . . : Yes
> 
> Ethernet adapter VirtualBox Host-Only Network:
> 
>    Connection-specific DNS Suffix  . :    Description . . . . . . . .
> . . . : VirtualBox Host-Only Ethernet Adapter    Physical Address. . .
> . . . . . . : 08-00-27-00-28-2A    DHCP Enabled. . . . . . . . . . . :
> No    Autoconfiguration Enabled . . . . : Yes    Link-local IPv6
> Address . . . . . : fe80::d159:6ed4:c7c:c02f%20(Preferred)    IPv4
> Address. . . . . . . . . . . : 198.168.56.1(Preferred)    Subnet Mask
> . . . . . . . . . . . : 255.255.0.0    Default Gateway . . . . . . . .
> . :    DHCPv6 IAID . . . . . . . . . . . : 268959783    DHCPv6 Client
> DUID. . . . . . . . : 00-01-00-01-15-89-26-AE-10-78-D2-16-02-DE
> 
>    DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
>                                        fec0:0:0:ffff::2%1
>                                        fec0:0:0:ffff::3%1    NetBIOS over Tcpip. . . . . . . . : Enabled
> 
> Ethernet adapter VirtualBox Host-Only Network #4:
> 
>    Connection-specific DNS Suffix  . :    Description . . . . . . . .
> . . . : VirtualBox Host-Only Ethernet Adapter #4    Physical Address.
> . . . . . . . . : 08-00-27-00-F4-D4    DHCP Enabled. . . . . . . . . .
> . : No    Autoconfiguration Enabled . . . . : Yes    Link-local IPv6
> Address . . . . . : fe80::4d07:55a8:8615:4646%30(Preferred)    IPv4
> Address. . . . . . . . . . . : 192.168.21.2(Preferred)    Subnet Mask
> . . . . . . . . . . . : 255.255.255.0    Default Gateway . . . . . . .
> . . :    DHCPv6 IAID . . . . . . . . . . . : 705167399    DHCPv6
> Client DUID. . . . . . . . : 00-01-00-01-15-89-26-AE-10-78-D2-16-02-DE
> 
>    DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
>                                        fec0:0:0:ffff::2%1
>                                        fec0:0:0:ffff::3%1    NetBIOS over Tcpip. . . . . . . . : Enabled
> 
> Tunnel adapter isatap.{4A68A292-E958-49F9-ADBB-B0A6B2E00AC2}:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Microsoft ISATAP Adapter    Physical Address. . . . . . . . . :
> 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . : No   
> Autoconfiguration Enabled . . . . : Yes
> 
> Tunnel adapter Teredo Tunneling Pseudo-Interface:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Teredo Tunneling Pseudo-Interface    Physical Address. . . . . . .
> . . : 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . :
> No    Autoconfiguration Enabled . . . . : Yes
> 
> Tunnel adapter isatap.{D8400DF5-8661-42E9-AF74-66AC888DA466}:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Microsoft ISATAP Adapter #2    Physical Address. . . . . . . . . :
> 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . : No   
> Autoconfiguration Enabled . . . . : Yes
> 
> Tunnel adapter isatap.{FEF87388-CE30-4169-8799-C1EDEBF97301}:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Microsoft ISATAP Adapter #3    Physical Address. . . . . . . . . :
> 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . : No   
> Autoconfiguration Enabled . . . . : Yes
> 
> Tunnel adapter isatap.{EE6EC7B1-AA13-43F4-9369-16F2EB5820D1}:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Microsoft ISATAP Adapter #4    Physical Address. . . . . . . . . :
> 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . : No   
> Autoconfiguration Enabled . . . . : Yes
> 
> Tunnel adapter isatap.{925F633E-80F4-4D9B-926B-85932E0FAF48}:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Microsoft ISATAP Adapter #5    Physical Address. . . . . . . . . :
> 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . : No   
> Autoconfiguration Enabled . . . . : Yes
> 
> Tunnel adapter isatap.{F16B7224-D444-47AB-95DB-CC3EEDD96739}:
> 
>    Media State . . . . . . . . . . . : Media disconnected   
> Connection-specific DNS Suffix  . :    Description . . . . . . . . . .
> . : Microsoft ISATAP Adapter #7    Physical Address. . . . . . . . . :
> 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . : No   
> Autoconfiguration Enabled . . . . : Yes
> 
> Tunnel adapter 6TO4 Adapter:
> 
>    Connection-specific DNS Suffix  . :    Description . . . . . . . .
> . . . : Microsoft 6to4 Adapter    Physical Address. . . . . . . . . :
> 00-00-00-00-00-00-00-E0    DHCP Enabled. . . . . . . . . . . : No   
> Autoconfiguration Enabled . . . . : Yes    IPv6 Address. . . . . . . .
> . . . : 2002:c6a8:3801::c6a8:3801(Preferred)    Default Gateway . . .
> . . . . . . : 2002:c058:6301::c058:6301    DNS Servers . . . . . . . .
> . . . : fec0:0:0:ffff::1%1
>                                        fec0:0:0:ffff::2%1
>                                        fec0:0:0:ffff::3%1    NetBIOS over Tcpip. . . . . . . . : Disabled

我在我的系统上使用wifi ... 我尝试了与genymotion错误,virtualbox错误和dhcp错误或谷歌解决方案相关的stackoverflow上列出的所有可能的解决方案......但没有工作..

编辑1:

我试过的一些解决方案:

  • 手动输入IP地址,网络掩码和DHCP服务器,如几篇文章所述(即192.168.56.1等)

  • 删除虚拟机中全局选项上的网络适配器,以便在genymotion启动时重新创建它们。

  • 为通用手机而非自定义手机安装新VM。

  • 删除virtualbox和genymotion并从头开始重新安装+再次下载所有虚拟机。

  • 释放RAM以确保我有大多数RAM可用。

  • 将VM配置中的系统RAM资源更改为1024或2048或尽可能地增加它。

  • 确认从Windows禁用了hyper-V,这不是问题。 将“混杂模式”设置为:“允许虚拟机”,或“拒绝”,或“允许所有内容”。

  • 修复VirtualBox

我跟随解决方案的几个链接:

Not able to start genymotion device

virtualbox-kernel requires an x86-64cpu but only detected an i686 cpu

系统和软件详细信息:

  • CPU类型:32位,英特尔

  • 主机Os:Windows 7 32位

  • 访客Os:windows 10 32位

  • Oracle Virtual Box版本5.0.26 r108824

  • Genymotion版本:2.7.2 Android studio:2.1.1

编辑2: 在寻找解决方案时,我发现这个问题可能是由于缺失 安装VirtualBox期间的文件我发现“VirtualBox-5.0.26-r108824-MultiArch_x86.msi”丢失了,所以我修复了VirtualBox ..但仍没有解决方案进展

请帮忙.. !!!! ....我很困难android工作室avd也没有工作。请建议一些替代..或问题的解决方案。

1 个答案:

答案 0 :(得分:2)

您的CPU类型是32位,但您正在尝试启动64位内核。这就是全部。只需切换到64位CPU即可。操作系统可以保持32位。

<强> UPD。 据我所知,genymotion现在仅适用于64位CPU: enter image description here

至于替代方案......如果您无法负担新的CPU,您可以尝试在物理设备(USB连接的Android手机)上进行调试 - 它便宜,简单,高效。