Android Studio 4.1/4.2 模拟器启动报错 The emulator process for AVD xxx was killed.

网上讲的什么各种方法均无效,windows易升升级到windows10最新版,安装各种虚拟监控服务(有没有用不知道,反正都做了,移动avd目录的那个别信),就差最后一步:

Create the file ~/.android/advancedFeatures.ini (for Windows users path should be C:UsersDane.androidadvancedFeatures.ini) with the following content:

# Here's how to disable Vulkan apps to talk to the emulator.

# Add the following lines to ~/.android/advancedFeatures.ini (create this file if it doesn't exist already):

Vulkan = off
GLDirectMem = on

这个错误也许只是个例, android studio 联网自动安装的,肯定是 as 有 bug。可以通过以下命令在 cmd 下看到报错信息,再根据报错信息有针对性的解决:

AndroidSdkemulator>emulator.exe -avd Pixel_2_API_30
桂棹兮兰桨,击空明兮溯流光。
原文地址:https://www.cnblogs.com/nanfei/p/14991742.html