无法 运行 我的应用程序在模拟器上 - 加载设备状态例如 0x0 时出错 'goldfish_pipe'

Can not run my app on emulator - error while loading state for instance 0x0 of device 'goldfish_pipe'

昨天我创建了 Pixel 3 XL 设备来在模拟器上测试我的应用程序。昨天它工作正常,但今天当我尝试 运行 我的应用程序时遇到这些错误。

14:58   Emulator: C:\Users\Mert\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: error while loading state for instance 0x0 of device 'goldfish_pipe'

14:58   Emulator: deleteSnapshot: for default_boot

14:58   Emulator: Process finished with exit code 0 

从 AVD Manager 中删除设备并创建一个新设备(我创建了相同的设备)对我有用

对我来说,我安装了更新版本的 HAXM 并且运行良好

下载黄色标记的 google 播放版本而不是 google API。 使用来自 google play 的图像再次创建模拟器也将确保重新安装 HAXM。

我在 Android Studio SDK Manager 中解决了这个问题,在 HAXM 安装程序向导 I 中更新了 Android SDK Build-Tools 和 Intel x86 Emulator Accelerator(HAXM 安装程序)的更新版本放4GB RAM大小。 image

在我的例子中,我删除了旧设备并下载了 Google 播放播放版本图像并手动更改了 adb.exe 文件。