Genymotion模拟器无法启动。停留在“android”黑色背景屏幕上,无限等待。

10

这是全新安装,第一次尝试使用它,但无法正常工作。我只能看到以下内容,CPU风扇一直高速旋转:

enter image description here

我希望能够将小黑色监视器预览变大以便查看字母,但实际上所有显示都像这样:

enter image description here

这些是日志中可见的一些错误:

jul 21 09:46:53 [Genymotion] [Debug] Searching virtual device with same name 
jul 21 09:46:53 [Genymotion] [ERROR] VBoxManage ("showvminfo", "Google Galaxy Nexus - 4.3 - API 18 - 720x1280") returns 1 
jul 21 09:46:53 [Genymotion] [Error] Output command: "VBoxManage.exe: error: Could not find a registered machine named 'Google Galaxy Nexus - 4.3 - API 18 - 720x1280'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2495 of file VBoxManageInfo.cpp" 
jul 21 09:46:56 [Genymotion] [Debug] Local OVA file computed SHA1 is  "218dfbd63bbe9d63bf866ca257211bc0ce3c6650" 
jul 21 09:46:56 [Genymotion] [Debug] Server said we should have that OVA hash:  "218dfbd63bbe9d63bf866ca257211bc0ce3c6650" 
jul 21 09:46:56 [Genymotion] [Debug] Searching virtual device with same name 
jul 21 09:46:56 [Genymotion] [ERROR] VBoxManage ("showvminfo", "Google Galaxy Nexus - 4.3 - API 18 - 720x1280") returns 1 
jul 21 09:46:56 [Genymotion] [ERROR] Output command: "VBoxManage.exe: error: Could not find a registered machine named 'Google Galaxy Nexus - 4.3 - API 18 - 720x1280'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2495 of file VBoxManageInfo.cpp" 

后来进行了一次不同尝试

jul 21 09:57:07 [Genymotion] [Debug] VBoxManage ("list", "bridgedifs") returns 0 
jul 21 09:57:08 [Genymotion] [ERROR] VBoxManage ("list", "natnets") returns 2 
jul 21 09:57:08 [Genymotion] [ERROR] Output command: "Oracle VM VirtualBox Command Line Management Interface Version 4.2.12
(C) 2005-2013 Oracle Corporation
All rights reserved.

Usage:

VBoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies|
                            bridgedifs|hostonlyifs|dhcpservers|hostinfo|
                            hostcpuids|hddbackends|hdds|dvds|floppies|
                            usbhost|usbfilters|systemproperties|extpacks|
                            groups


Syntax error: Unknown subcommand "natnets"." 
jul 21 09:57:08 [Genymotion] [ERROR] VBoxManage ("list", "intnets") returns 2 
jul 21 09:57:08 [Genymotion] [ERROR] Output command: "Oracle VM VirtualBox Command Line Management Interface Version 4.2.12
(C) 2005-2013 Oracle Corporation
All rights reserved.

Usage:

VBoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies|
                            bridgedifs|hostonlyifs|dhcpservers|hostinfo|
                            hostcpuids|hddbackends|hdds|dvds|floppies|
                            usbhost|usbfilters|systemproperties|extpacks|
                            groups


Syntax error: Unknown subcommand "intnets"." 

VBoxSVC.log中充满了这些内容:

00:15:28.362000          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={22781af3-1c96-4126-9edf-67a020e0e858} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 1 of controller 'IDEController'}, preserve=false
00:15:28.362000          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={22781af3-1c96-4126-9edf-67a020e0e858} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 1 of controller 'IDEController'}, preserve=false
00:15:29.080000          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={22781af3-1c96-4126-9edf-67a020e0e858} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 1 of controller 'IDEController'}, preserve=false
00:15:29.080000          ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={22781af3-1c96-4126-9edf-67a020e0e858} aComponent={SessionMachine} aText={No storage device attached to device slot 1 on port 1 of controller 'IDEController'}, preserve=false

Google Galaxy Nexus - 4.3 - API 18 - 720x1280-genymotion-player.log里面,我也有一些这样的东西:

jul 21 09:50:34 [Genymotion Player] [ERROR] Unable to connect to  QHostAddress( "192.168.56.102" )  : 22666 "Socket operation timed out" 
jul 21 09:50:34 [Genymotion Player] [ERROR] Fail to send capabilities request 
jul 21 09:50:34 [Genymotion Player] [Debug] Timeout waiting for capabilities. Will retry. 
jul 21 09:50:37 [Genymotion Player] [Debug] Events Manager: requesting device capabilities 
jul 21 09:50:39 [Genymotion Player] [ERROR] Unable to connect to  QHostAddress( "192.168.56.102" )  : 22666 "Socket operation timed out" 
jul 21 09:50:39 [Genymotion Player] [ERROR] Fail to send capabilities request 
jul 21 09:50:39 [Genymotion Player] [Debug] Timeout waiting for capabilities. Will retry. 
jul 21 09:50:42 [Genymotion Player] [Debug] Events Manager: requesting device capabilities 
jul 21 09:50:44 [Genymotion Player] [ERROR] Unable to connect to  QHostAddress( "192.168.56.102" )  : 22666 "Socket operation timed out" 
jul 21 09:50:44 [Genymotion Player] [ERROR] Fail to send capabilities request 
jul 21 09:50:44 [Genymotion Player] [Debug] Timeout waiting for capabilities. Will retry. 
jul 21 09:50:47 [Genymotion Player] [Debug] Events Manager: requesting device capabilities 
jul 21 09:50:49 [Genymotion Player] [ERROR] Unable to connect to  QHostAddress( "192.168.56.102" )  : 22666 "Socket operation timed out" 
jul 21 09:50:49 [Genymotion Player] [ERROR] Fail to send capabilities request 
jul 21 09:50:49 [Genymotion Player] [Debug] Timeout waiting for capabilities. Will retry. 

我已经在pastebin上传了搜索genymotion生成的所有日志文件中单词“error”的结果(16个文件中有456个匹配项)。请点击此处查看。
网络上的每个人都非常赞扬这个模拟器,所以我不想轻易放弃,但我确实不知道该如何修复它。我已经谷歌过这些不同的错误,但没有找到有用的信息。

在您的第一张截图中,我看到您已经打开了VirtualBox。您是从Genymotion启动器还是VirtualBox启动Nexus VM?您应该尝试从Genymotion启动器启动它,而不需要打开VB。通常情况下,直接从VirtualBox启动Genymotion VMs是无法启动的。 - Paul Ratazzi
是的,我是从Genymotion启动它的。我只是打开VB尝试更深入地了解问题。然后我尝试了一个不同的模型,它起作用了...不过不是我的模型。 - Neithan Max
ADB的神秘仍在继续。 - ClintL
你试过其他镜像吗?你有其他虚拟化软件,比如VMWare或Hyper-V吗?我另外一种方法是在vbox设置中将Android机器网络设置为桥接模式,至于日志,我认为你使用的是nat。 - jmmontero
对我有效的是以下三个步骤:1. 卸载GM(包括VirtualBox)并重新启动;2. 安装GM(包括VirtualBox而不是分开安装),并重新启动;3. 设置GM使用自己的ADB(设置-> ADB-> 使用Genymotion Android工具)。 - SSG
2个回答

6
我遇到了同样的问题,尝试了很多方法几天后,我注意到了这个答案。其中提到他们有一个网络问题,我想起在我的general-genymotion.log文件中看到了这一行: [Genymotion] [Error] Output command: "VBoxManage: error: DHCP server does not exist" 我从我的网络中移除了DHCP并清除了genymotion的所有缓存,问题得到解决。
我还使用了本地ADB而不是genymotion的默认ADB: Genymotion->Settings->ADB->Use custom Android SDK tools 之后: Genymotion->Settings->Misc->Clear cache

0
我通过在与我的网络卡IPv4相同的地址字段中设置静态IP地址(在我的情况下为192.168.1.75,因此它位于192.168.1.2和192.168.1.255之间)来解决了相同的问题,以便将其分配给虚拟机网络适配器就像这些步骤中一样,这样它就不再需要DHCP。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接