Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

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

4 Answers 4

up vote 48 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/studio.sh" %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

Please follow this way:

Android Studio->Tools->Create Desktop Entry

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

share|improve this answer

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

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

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.