Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - Error in launch emulator - Vulkan-1.dll

when I launch the emulator in Android Studio, the following two errors occur in the event log:

Emulator: handleCpuAcceleration: feature check for hvf
Emulator: cannot add library vulkan-1.dll: failed

Someone knows how to solve them? Thank you,

Marco

like image 367
marco94 Avatar asked Jan 25 '23 13:01

marco94


1 Answers

I met this situation when I upgrade android emulator to 30.7.5

You need to create

"advancedFeatures.ini"

inside android folder

C:\Users\YourUser.android\advancedFeatures.ini

put this text inside it

# 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
like image 150
Ucdemir Avatar answered Mar 06 '23 22:03

Ucdemir