PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
I have same issue when I run my ionic 2 app on windows (ionic run android), and I solve it by following these steps, hope it will help you.
1- Start your Android Studio.
2- Create a New Project to be able to create or delete virtual devices.
3- Delete any virtual devices if found.
4- and create virtual device via AVD manager as shown below .
AVD cant find SDK root, possibly because they are in a different directory.Set your environment variables as shown in below screenshot:
I got this error when trying to run it on a Kindle Fire. Enable ADB on the Kindle Fire and via your project: https://developer.amazon.com/docs/fire-tablets/connecting-adb-to-device.html#install-the-usb-driver-windows-users
I used VS code and the built in terminal running the command: ionic cordova run android