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

相关推荐
不吃凉粉3 小时前
Android Studio USB串口通信
android·ide·android studio
zhangphil3 小时前
android studio设置大内存,提升编译速度
android·android studio
编程乐学4 小时前
安卓非原创--基于Android Studio 实现的天气预报App
android·ide·android studio·课程设计·大作业·天气预报·安卓大作业
大熊的瓜地6 小时前
Android automotive 框架
android·android car
私人珍藏库7 小时前
[Android] Alarm Clock Pro 11.1.0一款经典简约个性的时钟
android·时钟
消失的旧时光-19439 小时前
ScheduledExecutorService
android·java·开发语言
小糖学代码9 小时前
MySQL:14.mysql connect
android·数据库·mysql·adb
怪兽201411 小时前
请谈谈什么是同步屏障?
android·面试
帅锅锅00712 小时前
SeLinux 全面详解
android·linux
只想搞钱的肥仔12 小时前
Android thermal (5)_cooling device(下)
android