简体   繁体   中英

How to creating an application launcher Desktop icon for Android Studio Emulator in Ubuntu?

I want to know is it possible for creating a application launcher icon for Emulator (Android Studio) with a specific version of Android Device and OS like Nexus_4_API_27 in Ubuntu 16.04 .

If you know please help me. Thanks in Advance.

It is possible, yes. You can open the emulator with certain commands from the command line and you can create a script that will run those commands automatically and then link it to your desktp.

To create an executable script with a shortcut on the desktop: https://askubuntu.com/questions/299052/how-to-execute-sh-script-from-a-desktop-shortcut

And in the script you need to set the commands for opening the emulator which you can find here: https://developer.android.com/studio/run/emulator-commandline.html

I don't have an ubuntu machine right now so i can't help you more but you should be able t get it going from here.

Go to the Android Studio Application menu bar. Go to tools then click Desktop Entry and it will be added on your applications menu.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM