Created
September 26, 2017 11:35
-
-
Save uilian/fa2c46d4340394eb9f6af796b616cb0f to your computer and use it in GitHub Desktop.
Shows a list of all avds and let you select on by the index.
This file contains 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
#!/bin/bash | |
# you android_home, something like '/home/user/Android/Sdk/' | |
cd $ANDROID_HOME | |
./tools/emulator -list-avds | cat -n | |
printf "Select AVD: " | |
read index | |
avd=$(./tools/emulator -list-avds | sed "${index}q;d") | |
echo "Selected $avd" | |
./tools/emulator -netdelay none -netspeed full -avd $avd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment