Created
December 16, 2018 16:37
-
-
Save kkrishnan90/1f6f43b71e8fb0d228725b38f7c9bce0 to your computer and use it in GitHub Desktop.
Run Android Emualtor from Terminal on Ubuntu using this bash script
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
#!/bin/bash | |
`#You can close the Terminal Window after running the emulator. Nohup will keep the service running` \ | |
echo "Setting env variables..." | |
export ANDROID_SDK={YOUR_ANDROID_SDK_PATH_HERE} | |
export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$PATH | |
echo "Starting Emulator..." | |
nohup emulator @{YOUR_EMULATOR_NAME_HERE} & `#get list of avd and get the exact name and replace it here with YOUR_EMULATOR_NAME_HERE` \ | |
disown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment