PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (in windows 10)

后端 未结 14 2551
深忆病人
深忆病人 2020-12-15 02:15

While running an app on the virtual device (AVD) created on Android studio (in Windows 10), I am getting an error and panic.

<

相关标签:
14条回答
  • 2020-12-15 03:16

    Go to Control Panel>>System and Security>>System>>Advance system settings>>Environment Variables then set variable value of ANDROID_HOME set it like this "C:\Users\username\AppData\Local\Android\sdk" set username as your pc name, then restart your android studio. after that you can create your AVD again than the error will gone than it will start the virtual device.

    0 讨论(0)
  • 2020-12-15 03:16

    Android Studio Picture

    Make sure you have an Android Virtual Device selected to output the app to. In the picture I put on this post you can see I selected the Android Virtual Device "Nexus 5" as the output device. Doing this removed the error for me.

    0 讨论(0)
提交回复
热议问题