12

I used to launch Android Studio by this steps:

  1. Open Android Studio folder.
  2. Open terminal there.
  3. Confirm sh studio.sh command.

Can I lauch Android Studio from the Desktop by the 1 click?

Anwar
  • 77,855

3 Answers3

14

Create a file ( Desktop File ) with this content:

[Desktop Entry]
Version=1.0
Name=Android Studio 
Type=Application 
Icon=/PATH/TO/ICON/studio.png 
Exec=/PATH/TO/studio.sh 
Keywords=ide;android;studio;

Change /PATH/TO/ICON/studio.png and /PATH/TO/studio.sh accordingly.
save the file as: android-studio.desktop in /usr/share/applications

Now you'll be able to search in the Dash for Android Studio


Android-Studio helps you of creating this entry file, within the Android Studio Welcome Page, tap the Settings icon and then, Create Desktop Entry..., the file will be created at ~/.local/share/applications/ path.

Benny
  • 5,100
6

The easiest and fastest way to do this is:

after you open the program the same way you mentioned, right click on the program (from the programs bar/menu bar on the left) and click "Lock to Launcher".

Tms91
  • 595
Maldini
  • 140
  • 1
  • 8
2

I use this :

sudo apt-get install alacarte

I want to create launcher for Android Studio, This is the simple way : enter image description here

Open Alacarte. Choose New Item

enter image description here

Choose .sh File and Logo.. and Done.

enter image description here

toha
  • 121