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

相关推荐
lang999888几秒前
kodi在Android4.0.4安装播放歌曲显示歌词
android·kodi·歌词插件
yzx99101324 分钟前
构建未来:深度学习、嵌入式与安卓开发的融合创新之路
android·人工智能·深度学习
前行的小黑炭40 分钟前
Android :如何快速让布局适配手机和平板?
android·java·kotlin
Yang-Never5 小时前
Kotlin协程 -> Job.join() 完整流程图与核心源码分析
android·开发语言·kotlin·android studio
一笑的小酒馆10 小时前
Android性能优化之截屏时黑屏卡顿问题
android
懒人村杂货铺13 小时前
Android BLE 扫描完整实战
android
TeleostNaCl15 小时前
如何安装 Google 通用的驱动以便使用 ADB 和 Fastboot 调试(Bootloader)设备
android·经验分享·adb·android studio·android-studio·android runtime
fatiaozhang952716 小时前
中国移动浪潮云电脑CD1000-系统全分区备份包-可瑞芯微工具刷机-可救砖
android·网络·电脑·电视盒子·刷机固件·机顶盒刷机
2501_9159184117 小时前
iOS 开发全流程实战 基于 uni-app 的 iOS 应用开发、打包、测试与上架流程详解
android·ios·小程序·https·uni-app·iphone·webview
lichong95117 小时前
【混合开发】vue+Android、iPhone、鸿蒙、win、macOS、Linux之dist打包发布在Android工程asserts里
android·vue.js·iphone