Skip to content

Instantly share code, notes, and snippets.

@enzinier
Last active July 14, 2022 15:05
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save enzinier/966168ea304c971407fbe0ab980db56d to your computer and use it in GitHub Desktop.
Save enzinier/966168ea304c971407fbe0ab980db56d to your computer and use it in GitHub Desktop.
Create shortcut for running android virtual device in Ubuntu launcher.
[Desktop Entry]
Version=1.0
Name=AVD
Comment=AVD
Exec=bash -c "DEVICES=$(/home/jason/Android/Sdk/tools/emulator -list-avds 2>&1) && /home/jason/Android/Sdk/tools/emulator @${DEVICES[0]}"
Icon=/home/jason/Android/Sdk/platforms/android-23/templates/ic_launcher_xhdpi.png
Terminal=false
Type=Application
Categories=Utility;Application;
@nayaCodeStudio
Copy link

nayaCodeStudio commented Jun 24, 2022

How I can be running it?
Maybe you can give the tutorial to use it. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment