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:\Users\Dane\.android\advancedFeatures.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 下看到报错信息,再根据报错信息有针对性的解决:

Android\Sdk\emulator>emulator.exe -avd Pixel_2_API_30

 

posted on 2021-07-09 17:53  空明流光  阅读(397)  评论(0编辑  收藏  举报

导航