Skip to content

Instantly share code, notes, and snippets.

@pacozaa
Created May 10, 2021 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pacozaa/09b86dc7cddcececdcd79ca1ba5372aa to your computer and use it in GitHub Desktop.
Save pacozaa/09b86dc7cddcececdcd79ca1ba5372aa to your computer and use it in GitHub Desktop.
androidemu.sh
#!/bin/bash
echo "Let's look at what you have:"
emulator -list-avds
# emulator @Pixel_2_XL_API_29
read -p "Enter target devices: " DEVICE_NAME
if [ "$DEVICE_NAME" = "" ]
then
emulator @Pixel_2_XL_API_29
else
emulator @${DEVICE_NAME}
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment