在更新到Android Studio 2020.3.1金丝雀15后,当我试图运行模拟器时,它会被这个错误杀死:

AVD Pixel_4_API_30的模拟器进程已终止。

它在以前的版本(4.1.3)中工作正常,但现在安装新版本后,它显示相同的错误。


在类似的情况下,我尝试了一些建议的解决方案;然而,它仍然不工作。

我删除了我的模拟器(也清除了目录:/.android/avd/),并再次创建了一个新的模拟器 我将HAXM安装程序更新到7.6.5版本 我试着用较低的api运行模拟器,但是…


错误图片:


当前回答

更改AVD中的“Graphics”属性,选择“software—Gles2.0”。 这对我很管用。

其他回答

Everything Fine. Good Work. Just make a little change. If you have 2 different pixel types appearing on Virtual Device section you have to delete any one of the pixel emulator which you do not prefer for your project. Delete it by clicking drop down arrow > Delete. It'll work for you the way it did for me. If you already have 1 pixel emulator, I might be wrong in telling you that the problem is you need SUFFICIENT SPACE where your ADVs generated OR you need to upgrade the HAXM installer to the latest --v

goto avd文件夹

删除所有的avd

重新启动avd

希望你会发现avd工作良好

对我来说,取消虚拟设备配置中的“多核CPU”选项是可行的。它列在“高级设置”下。

我有同样的问题,我已经尝试了所有上述解决方案,但不能成功。 最后,我已经摆脱了这个问题,在我的惠普电脑卸载预安装程序惠普狼安全。

这个问题可能是由不同的原因造成的;在我的例子中,这是因为没有找到system-images文件夹的路径。不知何故,sdk中的系统图像文件夹不见了。因为我有一个备份的sdk,我把旧的sdk文件夹,模拟器开始工作。如果您在日志文件中看到如下内容,请尝试这种方法。

模拟器:Pixel 2 API 28 -模拟器:警告:path_getAvdSystemPath: ..rootdirectory/Android/sdk/system-images/ Android -28/google_apis_playstore/x86/不是有效目录。