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

相关推荐
走在路上的菜鸟13 分钟前
Android学Dart学习笔记第十一节 分支
android·笔记·学习·flutter
恋猫de小郭1 小时前
解读 Claude 对开发者的影响:AI 如何在 Anthropic 改变工作?
android·前端·ai编程
Digitally1 小时前
如何将照片从 Mac 传输到 Android
android·macos
用户41659673693551 小时前
Android 系统开发进阶:将应用配置为系统应用的完整指南
android
三少爷的鞋2 小时前
Retrofit 核心流程模拟实现深解析
android
zhimingwen2 小时前
使用 adb shell 命令检查手机上 App的APK大小
android·adb
泥嚎泥嚎2 小时前
【Android】RecyclerView 刷新方式全解析:从 notifyDataSetChanged 到 DiffUtil
android·java
用户69371750013842 小时前
23.Kotlin 继承:继承的细节:覆盖方法与属性
android·后端·kotlin
Haha_bj2 小时前
五、Kotlin——条件控制、循环控制
android·kotlin
弥巷2 小时前
【Android】深入理解Window和WindowManager
android·java