PANIC: Broken AVD system path Check your ANDROID_SDK_ROOT
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT
Fellow below points to fix the above issue:
Note: To run avdmanger and sdkmanger you should be in Android\SDK\Tools\bin directory.
To get list of virtual devices use -list-avds command. This command will return names of installed Android Virtual devices
Delete an existing emulator
Add system image to your SDK(windows)
Fellow below points to fix the above issue:
Note: To run avdmanger and sdkmanger you should be in Android\SDK\Tools\bin directory.
Go To:
/Users/userName/Library/Android/sdk/tools/bin
To get list of virtual devices use -list-avds command. This command will return names of installed Android Virtual devices
avdmanager -list-avds
Delete an existing emulator
avdmanager delete avd -n avdName
Add system image to your SDK(windows)
sdkmanager "system-images;android-24;default;x86_64"
Create Android Virtual Device
avdmanager create avd -n Nexus -d 23 -k system-images;android-24;default;x86_64
-n --name : Name of the new AVD. [required]
-d --device : The optional device definition to use. Can be a device index or id
-k --package : Package path of the system image for this AVD (e.g.'system-images;android-24;default;x86_64')
-d --device : The optional device definition to use. Can be a device index or id
-k --package : Package path of the system image for this AVD (e.g.'system-images;android-24;default;x86_64')
If you Android SDK PATH is not set, you can run it from the installed directory path:
Go To:
/Users/userName/Library/Android/sdk/tools
To get list of emulators
./emulator -list-avds
To run
./emulator -avd avdName
Comments
Post a Comment