Android emulator - vulkan-1.dll not found

Young Calabria 61 Reputation points
2021-07-07T01:04:18.667+00:00

112383-vulkan-error.png

Hi,
I am using Android emulator in visual studio.
I'm getting the following error:

Please check if you can update your video driver.
If it doesn't help, try to Edit the AVD and set "hw.gpu.mode=off".

setting "hw.gpu.mode=off" didn't work for me.
Error details in the attachment.
Any idea? Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Young Calabria 61 Reputation points
    2021-07-09T21:55:00.593+00:00

    @JarvanZhang thank you for your help which may work for others.
    for me, after days of tries and searches I finally succeeded in making it works!
    I added the following lines to advancedFeatures.ini file in .android folder:
    Vulkan = off
    GLDirectMem = on
    and the emulator started.
    I hope this may help others

    4 people found this answer helpful.