I recently have downloaded android studio to develop android.
I run program at terminal typing ./studio.sh
My question is :
Is there any way to start it as a GUI icon at desktop without use terminal.
Asked
Active
Viewed 6.7k times
20

Arm
- 303
-
Inside Android Studio: – Karl Morrison Jun 05 '20 at 16:20
1 Answers
38
To create a desktop file do this:
Open Gedit.
Paste the following into the file, editing the relevant parts:
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon=someicon Exec=sh /path/to/studio.sh Name=Android Studio
Now, save this file as somename.desktop, to your desktop.
Next, you need to make this file executable by typing the command:
cd ~/Desktop && chmod a+x somename.desktop
Now, double-clicking the application should launch your application.
-
-
3
-
1android studio icon as
studio.png
is also located at the same place where you have yourstudio.sh
– Mohammed Sufian Jun 05 '17 at 06:02 -
6When you start android studio, there is an option named
configure
. In theconfigure
option, you will getCreate a desktop Entry for Studio
. Just do a couple of okays, and after restarting you can find Android Studio in your system menu. Checked in Ubuntu 16.04..:) – john400 Sep 02 '17 at 04:30 -
23
-
-
As of the latest version of Android Studio, which is typically installed in
/usr/local/android-studio
, you can launch/usr/local/android-studio/bin/studio.sh
, go to Configure -> Create Desktop Entry. Requires password if creating for all users. This is just an updated version of @IhabShoully's comment. – rubynorails May 14 '20 at 14:52 -
In 2022 with dolphin, when you start studio.sh, you get a "welcome" screen with 3 big buttons pertaining to projects, and a side column with "Projects", "Customize", "Plugins", and "Learn Andriod Studio". So I don't see where "Configure" is. Under "Customize" there is a dialog with "Color Theme", "Accessibility", and "Keymap". Continuing from here is just a confusing exercise of which thing is like "Configure / Create Desktop Entry" without being called that exactly? – cardiff space man Nov 30 '22 at 00:20