Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator on Windows 10

I am using Android Studio and VS 2017 on Windows 10.
And I have enabled hyper-v on windows.

I have a problem at emulator as follow.
This is an error screen on emulator


Error Message

Android Emulator closed because of an internal error:
gpu found. vendor id 8086 device id 0x3e92
checking for bad AMD vulkan driver version...
amdvlk64.dll not found. Checking for amdvlk32...
amdvlk32.dll not found. No bad AMD Vulkan driver versions found.
checking for bad vulkan-1.dll version...
vulkan-1.dll version: 1.1.114.0
Not known bad vulkan-1.dll version; continue.

What's the problem?

Please if someone kind enough to help me or direct me to reach a solution. thanks

like image 728
ShenYa Avatar asked Jun 09 '20 08:06

ShenYa


2 Answers

In C:\Users\<your_name>\.android add a file named advancedFeatures.ini

add these parameters inside the advancedFeatures.ini file

Vulkan = off
GLDirectMen = on

Now Start AVD

Source

like image 72
Irvin Joao Avatar answered Sep 20 '22 01:09

Irvin Joao


In AVD manager, click on the "Edit" icon next to your required virtual device. Then change emulated performance -> graphics from Hardware or None to Software. Works like a charm.

like image 33
Vikram Baliga Avatar answered Sep 23 '22 01:09

Vikram Baliga