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非常占内存非常卡。

相关推荐
余辉zmh25 分钟前
【MySQL基础篇】:MySQL索引——提升数据库查询性能的关键
android·数据库·mysql
BennuCTech2 小时前
Google ML Kit系列:在Android上实现OCR本地识别
android
什么都不懂95272 小时前
Android Lmkd
android
zhangphil3 小时前
Android Coil3视频封面抽取封面帧存Disk缓存,Kotlin
android·kotlin
猪哥帅过吴彦祖3 小时前
Flutter SizeTransition:让你的UI动画更加丝滑
android·flutter
OperateCode4 小时前
Android Studio 格式规范
android
张风捷特烈4 小时前
鸿蒙纪·Flutter卷#02 | 已有 Flutter 项目鸿蒙化 · 3.27.4 版
android·flutter·harmonyos
QING6187 小时前
Media3 ExoPlayer 快速实现背景视频播放(干货)
android·前端·kotlin
用户2018792831677 小时前
PengdingIntent之“我想要的很简单时光还在你还在”
android
weiwuxian7 小时前
js与原生通讯版本演进
android·前端