windows - 使用 genymotion 和 virtualBox 启动虚拟设备的问题

标签 windows android-studio virtualbox genymotion dhcp

我无法使用虚拟框启动我的 Genymotion 虚拟设备。每次我尝试启动我的设备时,它都会显示以下错误消息:

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

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... 我尝试了 stackoverflow 上列出的与 genymotion 错误、virtualbox 错误和 dhcp 错误或谷歌解决方案相关的所有可能的解决方案……但都没有用……

编辑 1:

我尝试过的一些解决方案:

  • 手动输入 IP 地址、网络掩码和 DHCP 服务器,如多个帖子中所述(即 192.168.56.1 等)

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

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

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

  • 释放 RAM 以确保我有最多的可用 RAM。

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

  • 已确认 hyper-V 已从 Windows 禁用,因此这不是问题所在。 将“混杂模式”设置为:“允许虚拟机”、“拒绝”或“允许一切”。

  • 修复 VirtualBox

我遵循的解决方案链接很少:

Not able to start genymotion device

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

系统和软件详情:

  • CPU类型:32位,intel

  • 主机操作系统:windows 7 32位

  • guest 操作系统:windows 10 32 位

  • Oracle Virtual Box 版本 5.0.26 r108824

  • Genymotion版本:2.7.2 安卓工作室:2.1.1

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

请帮助..!!!! ....我被卡得很厉害 android studio avd 也没有工作。请提出一些替代方案..或解决问题。

最佳答案

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

更新。 据我所知,genymotion 现在仅适用于 64 位 CPU: enter image description here

至于替代方案...如果您买不起新的 CPU,您可以尝试在物理设备(USB 连接的 Android 手机)上调试 - 它便宜、简单且高效。

关于windows - 使用 genymotion 和 virtualBox 启动虚拟设备的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38768277/

相关文章:

c# - 如何确定帐户的类型(AD 用户与 AD 组)?

c# - 如何复制具有深层路径的只读文件并保留文件时间元数据?

docker - 使用Docker的Virtualbox端口转发

java - ANDROID 时间选择器如何以小时和分钟显示两个数字

android - 如何以及何时在 Android 上复制 iw/he 文件夹

python - 尝试访问在虚拟机上运行的 ipython 笔记本

linux - 从命令行创建 Linux 虚拟机

c# - Universal App 中的多语言支持

windows - 监视 Windows 中进程完成的某些系统调用

java - 无法解析配置 ':app:debugRuntimeClasspath' 的所有文件。问题