PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (in windows 10)
Open Android Studio and under the Tools
you will find the AVD manager
. Click on it and ensure that you have a valid virtual device with the SDK downloaded (click "download" in the Actions column if shown). Then ensure that the correct virtual device is selected on the toolbar.
define ANDROID_SDK_ROOT as environment variable where your SDK is residing, default path would be "C:\Program Files (x86)\Android\android-sdk" and restart computer to take effect.