androidandroid-studioandroid-emulator

Android Studio Emulator error "The emulator process for AVD was killed"


This is the error I'm getting:

The emulator process for AVD Pixel_XL_API_30 was killed.

All virtual devices don't run. I've tried deleting the directory for them and then creating new ones.


Solution

  • You need to disable the Vulkan apps to talk to the emulator.

    To do so, just create the file ~/.android/advancedFeatures.ini (it doesn't exist already) and add the following lines:

    Vulkan = off
    GLDirectMem = on

    (For Windows users the path should be C:\Users\%USER%\.android\advancedFeatures.ini)