2

Newly created Android virtual device in Visual Studio doesn't work saying

Device error: PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value

enter image description here

Variable exists and correct

C:\Users\Dmitry
λ echo %ANDROID_SDK_ROOT%
C:\Program Files (x86)\Android\android-sdk

What is it and how to fix?

Dims
  • 47,675
  • 117
  • 331
  • 600

1 Answers1

0

You could refer to question: PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value

As Oleg Cherr said:

Go to <user_home>/.android/avd/<avd_name> and open config.ini. Find the image.sysdir.1 property. It points at the directory inside SDK containing system images. Make sure that this directory exists and contains files like build.prop,system.img`, etc. If it doesn't, then you have to open the SDK Manager and download system images your AVD requires (see below).

York Shen
  • 9,014
  • 1
  • 16
  • 40