Skip to content

Instantly share code, notes, and snippets.

@sXakil
Last active February 23, 2019 04:49
Show Gist options
  • Save sXakil/9282e071f73c3f893add78e650074d54 to your computer and use it in GitHub Desktop.
Save sXakil/9282e071f73c3f893add78e650074d54 to your computer and use it in GitHub Desktop.
Desktop entry for launching the Android emulator directly
[Desktop Entry]
Version=1.0
Name=AVD
Comment=AVD
Exec=bash -c "cd ~/Android/Sdk/emulator/ && DEVICES=$(./emulator -list-avds) && ./emulator -avd ${DEVICES[0]}"
Icon=/home/$USER/Android/Sdk/platforms/android-28/templates/ic_launcher_xhdpi.png
Terminal=false
Type=Application
Categories=Utility;Application;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment