eclipse 如何停止 Genymotion 虚拟设备?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22468663/
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-09-19 21:35:43  来源:igfitidea点击:

How do I stop a Genymotion virtual device?

androideclipsegenymotion

提问by Azurespot

This seems like a strange question to ask, so maybe it is a bug, (and I have no problem starting these virtual devices), but then I notice for each new start of an Android project in Eclipse, I have to recreate these Genymotion VDs. So I end up having duplicates in my Device Manager. I go to try to delete them in the VD Manager and it says, "stop the device before deleting it".. which is weird because there is no stop button. And nothing in settings. Anyone know how to stop it? Thanks.

这似乎是一个奇怪的问题,所以它可能是一个错误,(并且我在启动这些虚拟设备时没有问题),但是我注意到每次在 Eclipse 中启动一个 Android 项目时,我都必须重新创建这些 Genymotion VD . 所以我最终在我的设备管理器中有重复。我去尝试在 VD 管理器中删除它们,它说,“在删除之前停止设备”......这很奇怪,因为没有停止按钮。设置中没有任何内容。有谁知道怎么阻止?谢谢。

回答by Xavi Gil

Do it from the VirtualBox manager:

从 VirtualBox 管理器执行此操作:

virtualbox-manager

虚拟机管理器

回答by Azurespot

Since the virtualbox monitor does not always offer a shutdown option, you could also log in into the android device and type halt.

由于 virtualbox 监视器并不总是提供关闭选项,您还可以登录到 android 设备并键入暂停。

adb shell

亚行外壳

then type halt at the prompt.

然后在提示符下输入halt。

回答by guyr

@me.yay: It appears that the genymotiond frontend (player.exe) does not close automaticly after shutdown. Just close it when it's displayed image freezes

@me.yay:似乎genymotiond 前端(player.exe)在关机后没有自动关闭。当它显示图像冻结时关闭它

Realize this is an old thread, but I just had this issue tonight. Been using Genymotion for a couple years, so don't know why this is happening now. The emulator works fine, but when I stop the device via long hold on Power button (thanks me.yay), the VM stops (as seen in VirtualBox manager) but Genymotion hangs on "Power Off Shutting down..." After I close the emulator, I then get a popup from Windows saying "application terminated in an unusual way" from Microsoft C runtime.

意识到这是一个旧线程,但我今晚刚遇到这个问题。使用 Genymotion 几年了,所以不知道为什么现在会发生这种情况。模拟器工作正常,但是当我通过长按电源按钮停止设备时(谢谢我。yay),VM 停止(如 VirtualBox 管理器中所示)但 Genymotion 在我关闭后挂起“关闭电源...”模拟器,然后我从 Windows 中得到一个弹出窗口,上面写着来自 Microsoft C 运行时的“应用程序以异常方式终止”。

Genymotion 3.0.2.

Genymotion 3.0.2。

回答by Shayden117

Try Looking in task manager and ending the "Adb" processes if they exist

尝试查看任务管理器并结束“Adb”进程(如果存在)

回答by me.yay

if you are connected to an android vm with the genymotion frontend, try to press the power-down button (right low corner) and keep pressing it until the shutdown menu appears.

如果您连接到带有 genymotion 前端的 android 虚拟机,请尝试按下关机按钮(右下角)并持续按下直到出现关机菜单。

It appears that the genymotiond frontend (player.exe) does not close automaticly after shutdown. Just close it when it's displayed image freezes.... (this is not valid if started directly from virtual box, since genymotions device control buttons are not available then)

关闭后,genymotiond 前端(player.exe)似乎不会自动关闭。只需在显示图像冻结时关闭它....(如果直接从虚拟框启动,则无效,因为那时 genymotions 设备控制按钮不可用)

回答by jwBurnside

I ran into a similar issue where the Virtual Device would crash, and I wouldn't be able to start the device from the summary Genymotion Device Manager (which I accessed from Intellij).

我遇到了一个类似的问题,虚拟设备会崩溃,我无法从 Genymotion 设备管理器(我从 Intellij 访问)摘要中启动设备。

I had to start the main device manager, which wouldn't let me delete or access settings, and warned that I needed to quit the virtual device. I just double clicked to start the device again and it seemed to fix whatever was hung up, and I was able to use the virtual device again, or close it if need be.

我不得不启动主设备管理器,它不允许我删除或访问设置,并警告我需要退出虚拟设备。我只是双击以再次启动设备,它似乎修复了挂起的任何东西,我可以再次使用虚拟设备,或者在需要时关闭它。