1

I tried all things for fix avd terminated error but still stuck and cant open emulator. enter image description here

What I tried :

  • Reinstall android studio. SDK. Flutter.
  • Added system variables.
  • Opened Hyper-V on windows features.
  • Choose under API 30 while creating new emulator.

How can i fix it ? My System variables :

enter image description here enter image description here enter image description here

I really search a lot and cant fix it anyway. Please help thanks for helps <3

Ugurcan Ucar
  • 165
  • 9

1 Answers1

0
  1. Try to repeat as in this video.
  2. Look at the amount of free space on this disk, it should be more than 10 gigabytes, more is better.

Faced this issue after update to arctic fox.

After seeing error message about termination, open android studio logs

("C:\Users\YourUserName\AppData\Local\Google\AndroidStudio2020.3\log\idea.log")

scroll it down and try to find log line with text "Emulator terminated with exit code". Probably, the reason for termination can be found a few lines above this message - for me it was

"Emulator: cannot add library vulkan-1.dll: failed".

If you have the same reason - go to C:\Windows\System32 directory, search here for file called vulkan-1-999-0-0-0.dll and just rename it to vulkan-1.dll (i've made a copy just in case and named it "vulkan-1.dll").

  1. Try changing your emulator settings, the amount of memory and processor cores used.

Open text editor (eg. notepad) Type this code: Vulkan=off GLDirectMem=on Save the file as "advancedFeatures.ini" in .android directory. If your user is named Admin, under windows it would be: C:\Users\Admin.android\advancedFeatures.ini.

Run your app.

Original link

Legend5366
  • 368
  • 2
  • 12