Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

6 Answers 6

up vote 65 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 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 at 20:01
thank you... its so simple to do... you saved my time... – anujsharma9196 Aug 2 at 15:59

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 at 23:22
But it requires setting up path variable so you should explicitly mention it in your answer – Creator Feb 19 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

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 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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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