Last active
March 14, 2018 19:22
-
-
Save spelcaster/cf36d51e9ae2f373f7e674d543a5a699 to your computer and use it in GitHub Desktop.
Create and launch AVD from command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/questions/43275238/how-to-set-system-images-path-when-creating-an-android-avd/43522262 | |
# download img | |
sdkmanager 'system-images;android-23;google_apis;x86_64' | |
# accept the sdk license | |
sdkmanager --licenses | |
# create AVD | |
avdmanager create avd -n {avd_name} -k "system-images;android-23;google_apis;x86_64" -b x86_64 -c 100M -d 7 -f | |
# install emulator | |
sdkmanager emulator | |
# launch the AVD | |
emulator -avd {avd_name} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to run the emulator after: