I have created an AVD on Windows 8.1 and trying to run it through command line but facing below issue.
Command: emulator -avd [AVD Path]
Error: PANIC: Broken AVD system path. Check your Android_SDK_Root value [C:\Users[User]\AppData\Local\Android\SDK]!
I have set the Android_SDK_ROOT value to SDK home directory. This works fine if i run emulator through android studio.
Can anyone help this?
Thanks,
Chandresh Parmar
-p path : Path to the location where the directory for this AVD's files will be created. If you do not specify a path, the AVD will be created in ~/. android/avd/ .
Run your app on the emulator After you have created an Android Virtual Device (AVD), you can start the Android Emulator and run an app in your project: In the toolbar, select the AVD that you want to run your app on from the target device drop-down menu. Click Run.
You can find the AVD Manager & SDK Manager option under the Tools menu as shown below. In the older version of the Android studio you will find this menu under the Tools -> Android.
Open your android studio then focus on the toolbar.
Goto tools > SDK manager then
Appearance & Behavior > Systems Settings > Android SDK
Now in the tab copy the Android SDK Location from here Android SDK Location
then goto your environment variables and then set the path along with these variables
Environment Variables
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With