android虚拟机(AVD)报错The emulator process for AVD xxx has terminated

出现问题的原因

1、emulator33.XX版本以后不再支持Intel x86 Emulator Accelerator

2、android studio不再支持emulator33.XX以下版下载,所以只要你现在装android studio,在装AVD的时候最低是emulator35.XX,

3、emulator35.XX加速只能用Hypervisor或者AEHD

4、Hypervisor加速需要WIN10版本1909以上或者WIN11而且要硬件支持。

5、不支持Hypervisor加速只能用AEDH。

出现报错

1、用命令行运行虚拟机:emulator -avd xxxx有下面报错

ERROR | crashhandler_die: fatal: OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:

  1. Make sure your GPU drivers are up to date.

  2. Erase and re-download the emulator ($ANDROID_SDK_ROOT/emulator).

  3. Try software rendering: Go to Extended Controls > Settings > Advanced tab and change "OpenGL ES renderer (requires restart)" to "Swiftshader".

Or, run emulator from command line with "-gpu swiftshader_indirect". 4. Please file an issue to https://issuetracker.google.com/issues?q=componentid:192727 and provide your complete CPU/GPU info plus OS and display setup.

解决办法:

1、如果你还有emulator33.XX以下版本,android studio还能识别的最好不要删掉可以一直用。

2、如果是新安装的android studio,AVD是emulator35.XX的先看一下电脑WIN10版本,如果是WIN10版本1803以下是不能支持虚拟机的,只能升级到1803或者更高版本。

3、建议电脑WIN10系统升级到1803就可以了,最新的20H2非常占内存非常卡。

相关推荐
程序员JerrySUN6 小时前
Valgrind Memcheck 全解析教程:6个程序说明基础内存错误
android·java·linux·运维·开发语言·学习
经典19927 小时前
mysql 性能优化之Explain讲解
android·mysql·性能优化
Kiri霧9 小时前
Kotlin集合与空值
android·开发语言·kotlin
Glacien10 小时前
compose动画从底层基础到顶层高级应用(三)核心API之--Transition
android
亿刀11 小时前
为什么要学习Flutter编译过程
android·flutter
whysqwhw11 小时前
OkHttp Cookie 处理机制全解析
android
Evan_ZGYF丶11 小时前
【RK3576】【Android14】ADB工具说明与使用
android·驱动开发·android14·rk3576
幻雨様12 小时前
UE5多人MOBA+GAS 番外篇:移植Lyra的伤害特效(没用GameplayCue,因为我失败了┭┮﹏┭┮)
android·ue5
狂浪天涯12 小时前
Android 16 显示系统 | 从View 到屏幕系列 - 4 | GraphicBuffer & Gralloc
android·操作系统