2

I have the following error when I try to launch my emulator in android studio:

Emulator: PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [F:\android]!

In Android Studio the sdk location is the following:

This

Here is the F:\android folder: (Android Studio downloaded the sdk)

enter image description here

Both ANDROID_HOME and ANDROID_ROOT_SDK is set to this directory.enter image description here

I have tried almost all the possible solutions here in stackoverflow but they did not work.

jhthewow
  • 133
  • 1
  • 3
  • 12

1 Answers1

4

I've had the same problem. Solution i've found here: PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value

1.I've moved content of my .android folder from C:\Users\MyUser.android to D:\Soft\AvdAndroid

2.Set system variables:

ANDROID_AVD_HOME = D:\Soft\AvdAndroid\avd,

ANDROID_SDK_HOME = D:\Soft\AvdAndroid,

ANDROID_SDK_ROOT = D:\Soft\Android_SDK

After that I've deleted old virtual devices and created new virtual device (Tools - AVD Manager)

Ivan_47
  • 463
  • 1
  • 5
  • 18