Genymotion不启动Android虚拟设备

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20662867/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 03:13:34  来源:igfitidea点击:

Genymotion does not start Android virtual device

androidvirtualboxgenymotion

提问by ViliusK

How to resolve Genymotion/VirtualBox issue, when can't start Android virtual device?

如何解决 Genymotion/VirtualBox 问题,何时无法启动 Android 虚拟设备?

Bellow message is received:

收到以下消息:

Unable to start the Genymotion virtual device.

The VirtualBox software returned an error: "incompatible state".

Please, run the VirtualBox software to check for issues. Then, try to run the Genymotion virtual device directly from VirtualBox to have a possible explanation.

For more information refer to: https://cloud.genymotion.com/page/faq/#vbox

无法启动 Genymotion 虚拟设备。

VirtualBox 软件返回错误:“不兼容状态”。

请运行 VirtualBox 软件以检查问题。然后,尝试直接从VirtualBox 运行Genymotion 虚拟设备以获得可能的解释。

更多信息请参考:https: //cloud.genymotion.com/page/faq/#vbox

Unable to start the Genymotion virtual device - "incompatible state"

无法启动 Genymotion 虚拟设备 - “不兼容状态”

回答by ViliusK

The issue is that virtual device is in Savedstate. You need to turn it off to state Powered Off.

问题是虚拟设备处于Saved状态。您需要将其关闭状态Powered Off

You need to start VirtualBox.appand power off the device.

您需要启动VirtualBox.app并关闭设备电源。

In the screenshot below Tabletdevice would not start Oracle VM VirtualBox with several Android virtual devices

在下面的屏幕截图中,Tablet设备无法启动带有多个 Android 虚拟设备的 Oracle VM VirtualBox

So you need to Startthe device which is in Savedstate and then power it off (by closing window) like this: <code>Power off</code>Android virtual device in VirtualBox

因此,您需要关闭Start处于Saved状态的设备,然后将其关闭(通过关闭窗口),如下所示: <code>关机</code>VirtualBox中的Android虚拟设备

回答by dunwan

In Windows, if the device is stuck in "Stopping" mode you can shutdown Virtual Box and kill these two processes in the Task Manager (CTRL + ALT + DEL or CTRL + SHIFT + ESC)

在 Windows 中,如果设备卡在“停止”模式,您可以关闭 Virtual Box 并在任务管理器中终止这两个进程(CTRL + ALT + DEL 或 CTRL + SHIFT + ESC)

  • VBoxNetDHCP.exe
  • VBoxHeadless.exe
  • VBoxNetDHCP.exe
  • VBoxHeadless.exe

Then launch your virtual device in Genymotion.

然后在 Genymotion 中启动您的虚拟设备。

回答by sivi

You can also in kill the vm process in the OS and shut it off this way.

您也可以在操作系统中终止 vm 进程并以这种方式将其关闭。

In windows Ctrl+Shift+Escchoose vm processes and stop the processes restart your gennymotion it should work.

在windows Ctrl+ Shift+Esc选择虚拟机进程和停止进程重新启动gennymotion它应该工作。

Added by barlop
The following screenshot(while it doesn't involve genymotion), illustrates how, you have the main virtualbox process, and a virtualbox process for each running machine. If you expand task manager and look at the command line column, you see the parameters to virtualbox.exe give details about which machine it is, so you could see which device you were killing if you killed it from there (though I tend to poweroff the virtual machine normally and load a snapshot, I can see how they could potentially be powered off from task manager)

由 barlop 添加
下面的截图(虽然它不涉及 genymotion),说明了如何,你有主要的 virtualbox 进程,每个运行的机器都有一个 virtualbox 进程。如果您展开任务管理器并查看命令行列,您会看到 virtualbox.exe 的参数提供了有关它是哪台机器的详细信息,因此如果您从那里杀死它,您就可以看到正在杀死的设备(尽管我倾向于关闭虚拟机正常加载快照,我可以看到它们可能如何从任务管理器关闭)

enter image description here

在此处输入图片说明

回答by Swapnil

when i was trying to run the virtual device,

当我试图运行虚拟设备时,

i was not in the saved state but in "guru meditation state" or something like that in this saved/discard/start were not accessible. So how did i solve this problem

我不是处于已保存状态,而是处于“大师冥想状态”或类似在此已保存/丢弃/开始状态中的内容无法访问。那么我是如何解决这个问题的

I started the virtual box app and in that u can get the logs of the device by Right clicking on that device. At the bottom of the log there is the exact reason why it happened.

我启动了虚拟盒应用程序,您可以通过右键单击该设备来获取该设备的日志。在日志的底部有它发生的确切原因。

For me the reason was something related to "low host memory error" using this low host memory incident as a referencewhich said to kill the processes related to VM and "googlecrashhandler.exe" as it will clear the memory and now ur device will be in paused state.

对我来说,原因是与使用此低主机内存事件作为参考的“低主机内存错误”有关,它说要杀死与 VM 和“googlecrashhandler.exe”相关的进程,因为它将清除内存,现在你的设备将处于暂停状态。

And the Start/discard/saved will be accessible, Now do as @ViliusK has said in his answer.

并且可以访问开始/丢弃/保存,现在按照@ViliusK 在他的回答中所说的那样做。

回答by ProgrammerCk

If you are using Linux, just goto terminal

如果您使用的是 Linux,只需转到终端

sudo su

须藤须

check processes running Virtual Box with

检查运行 Virtual Box 的进程

ps ax

斧头

get process id and kill them with priority using kill -9

获取进程 ID 并使用 kill -9 优先杀死它们

like

喜欢

kill -9 3217

杀死 -9 3217

and then start virtual box again.

然后再次启动虚拟盒子。

that will help

这会有所帮助

回答by Mahesh V N

go to Oracle virtualbox and check if the device's RAM exceeds the one from that of the Oracle Virtual Box (Ex: HAXM storage:1024 MB then device's RAM should be less than 1024MB)

转到 Oracle virtualbox 并检查设备的 RAM 是否超过 Oracle Virtual Box 的 RAM(例如:HAXM 存储:1024 MB 那么设备的 RAM 应小于 1024MB)

回答by Andrew Lam

The simplest solution that works for me,

对我有用的最简单的解决方案,



Run genymotion as administrator

以管理员身份运行 genymotion