Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install the android studio so that I can launch it from a launcher instead of via terminal.

Android Studio -> Tools -> Create Desktop Entry doesn't do antything

Can someone give specific instructions please?

I think this is something to do with the permissions in /usr/local/ I tried doing a chmod this and still didn't work

Tried modifying the Android Studio launcher file that was in /usr/share/applications/ and it would not launch the app under my user, as root fine, but thats not very practical

share|improve this question
What do you want to do finally? An icon to launch it, or alias? I personally recommend to do both options. You should read this post to add the commands to your PATH. – Lucio May 22 '13 at 22:12
If some answer has been useful for you, please upvote it and mark it as accepted. So your question remains as answered. Thanks – Lucio Jun 1 '13 at 20:32
None of the answers have helped, I have spent the past two and a half hours trying to do this with no luck; I'm completely befuddled – spences10 Jun 7 '13 at 21:31
What you didn't mentioned specifically what do you want to have as a result. I've added the android tools to my PATH and created an Icon on my desktop with the answer of @Shah. So if you have a new problem you should tell us what is that problem, otherwise, accept an answer. – Lucio Jun 9 '13 at 1:28
I have the file in usr/local the solution given is for /home/programs/ there be different permissions there. Unable to locate suitable startup script in '/home/user/programs/androidstudio/android-studio/bin'. – spences10 Jun 9 '13 at 8:19
up vote 77 down vote accepted

Here is my AndroidStudio .desktop file which works from the launcher.

[Desktop Entry]
Name=Android Studio
Exec="/home/username/Programs/AndroidStudio/bin/" %f

If you are unable to create an entry for Android Studio on the Unity launcher through the Tools > Create Desktop Entry... option, it is possible that you might have a Unity generated jetbrains-android-studio.desktop in your ~/.local/share/applications folder. To confirm, open the file and check for the following entry:


Delete the file and try again.

Alternatively, you can also open Android Studio, click on Configure -> Create Desktop Entry. This should create an entry on the dash:


share|improve this answer
Could you explain further the value of the Exec property? – Lucio May 25 '13 at 0:25
Yeah your alternate note was what I tried and got the message I have posted in the main post. The .desktop file I can Google how to create that, right? – spences10 May 28 '13 at 7:44
It is easiest to do the "alternate". From the Android Studio welcome screen just click "Configure" and then "Create Desktop Entry". Then you can search in Dash and Lock to Launcher. – noisygecko Jun 7 '13 at 17:19
somehow, both methods not working for 14.04... – cwhsu Nov 4 '14 at 0:47
@Lucio I don't have any experience with Ubuntu, but it looks (and sounds) like that is the location of the executable/runnable/binary/program/whatever it is called in Ubuntu. – Daniel Kvist Apr 29 '15 at 13:18
Android Studio -> Tools -> Create Desktop Entry

enter image description here

Now, you should be able to see in your system menu:

enter image description here

share|improve this answer
Your solution is pretty simple. Thank u so much! – lmiguelvargasf May 23 '15 at 20:01
thank you... its so simple to do... you saved my time... – Anuj TBE Aug 2 '15 at 15:59
This should be the accepted answer – boltup_im_coding Feb 5 at 0:16
This should be the accepted answer. – The Green Foxx Feb 12 at 3:18

You can open Android Studio, click on Configure -> Create Desktop Entry. This should create an entry on the dash.

share|improve this answer
While the accepted answer is quite valid and could be adapted for other applications, this is the simplest way to create an entry. – revnoah Jan 13 '15 at 23:22
But it requires setting up path variable so you should explicitly mention it in your answer – Creator Feb 19 '15 at 15:24

From the quick start panel, (which opens up once android-studio IDE launched), click on "Configure" which takes you to the configure panel then click on "Create Desktop Entry".

You can also go to Tools -> Create Desktop Entry once you're inside an Android Studio Project.

This basically puts a jetbrains-android-studio.desktop file into your Ubuntu's ~/.local/share/applications folder.

share|improve this answer
  1. Open Android Studio.
  2. Right-click its icon in the launcher.
  3. "Lock to Launcher".
share|improve this answer
Your answer while possible may be a bit late as the OP already accepted the other answer. Your help is of course appreciated, however you might be better served by focusing your efforts on the unanswered questions – Wayne_Yux Jan 11 at 16:00

For Android Studio 1.2+ the WM_CLASS is jetbrains-studio. So you have to add or change


to your android-studio.desktop file.

share|improve this answer
Suggest an edit, please. – muru May 22 '15 at 14:32

The best way I know of doing this is, open Android Studio then under Tools click on "Create Desktop Entry". This will list android studio in all programs list, from there you can add the application to quick launch.

share|improve this answer

protected by Community Feb 13 at 23:46

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.