简体   繁体   English

Android 模拟器在运行和离线时如何停止?

[英]How to Stop Android emulator when it appears to both running and offline?

I tried to run my android emulator but it froze at the Google Start screen and then crashed showing the emulator with a black box around it.我试图运行我的 android 模拟器,但它在 Google 开始屏幕上冻结,然后崩溃,显示模拟器周围有一个黑框。 I am unable to re-run the emulator because it says the emulator is already running.我无法重新运行模拟器,因为它说模拟器已经在运行。

Emulator stuck at Google Screen模拟器卡在谷歌屏幕上

Emulator Screen with Black Box带有黑框的仿真器屏幕

Error when I try to close the emulator尝试关闭模拟器时出错

Error when I try to Re-run尝试重新运行时出错

Error when I select the "emulator-5554"选择“emulator-5554”时出错

I also try to stop, wipe or delete the emulator from the AVD manager it says I am unable to because it is already running.我还尝试从 AVD 管理器中停止、擦除或删除模拟器,它说我无法这样做,因为它已经在运行。

Does anyone have a solution to this issue?有人能解决这个问题吗?

My answer is for emulators running on a windows operating system.我的答案是针对在 Windows 操作系统上运行的模拟器。

Open the task manager and search for the following process打开任务管理器,搜索以下进程在此处输入图像描述

Name might vary depending on the emulator you are running名称可能因您运行的模拟器而异

And just end task.并结束任务。 You should be able to wipe data off the emulator from android studio.您应该能够从 android studio 的模拟器中擦除数据。 If not, try restarting android studio.如果没有,请尝试重新启动 android studio。
Hope this solves your problem.希望这能解决您的问题。
Regards.问候。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM