eclipse 无法启动 Android 模拟器:“无法从快照加载 VM”

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

Cannot start Android Emulator: "Unable to load VM from snapshot"

androideclipseandroid-emulator

提问by kexx

I tried to launch the android emulator from Eclipse but the emulator will not start.

我试图从 Eclipse 启动 android 模拟器,但模拟器无法启动。

When I try to start it I get the following error:

当我尝试启动它时,出现以下错误:

emulator: ERROR: Unable to load VM from snapshot. The snapshot has been saved for a different hardware configuration.

模拟器:错误:无法从快照加载 VM。快照已保存用于不同的硬件配置。

Any advice?

有什么建议吗?

回答by Tim

Maybe try to disable the hardware snapshot in the Android Virtual Device Manager? It should be installed wherever you installed the android SDK.

也许尝试在 Android 虚拟设备管理器中禁用硬件快照?它应该安装在您安装 android SDK 的任何地方。

enter image description here

在此处输入图片说明

回答by Wayland Young

I was having this exact problem. The way I resolved it was to edit the AVD and disable the snapshot from the Android Virtual Device Manager like above and also delete the snapshot files snapshots.imgand snapshots.img.default-boot.ini(disabling snapshot won't delete them automatically). Then edit the AVD and re-enable the snapshot.

我遇到了这个确切的问题。我解决它的方法是编辑 AVD 并像上面一样从 Android 虚拟设备管理器禁用快照,并删除快照文件snapshots.imgsnapshots.img.default-boot.ini(禁用快照不会自动删除它们)。然后编辑 AVD 并重新启用快照。

This won't entirely resolve the problem at least in my case. I re-enabled snapshot and kept getting the error and tried the above steps several times. The cause for me was that after I launched the AVD I was closing the Virtual Device Manager window. Leaving the manager window open until after I've closed the AVD window solved it for me!

至少在我的情况下,这不会完全解决问题。我重新启用快照并不断收到错误并多次尝试上述步骤。我的原因是在启动 AVD 后,我关闭了 Virtual Device Manager 窗口。让管理器窗口保持打开状态,直到我关闭 AVD 窗口后才为我解决了这个问题!

回答by Satya Prakash

I need to recreate Virtual Device. Without that it was creating one or other problem.

我需要重新创建虚拟设备。没有它,它就会产生一个或其他问题。