

That location can be defined system-wide in /etc/environment or per-user in their.

Two of the answers to that question mention that the Launcher entry doesn't work because it can't find the JDK installation directory.

Since Android Studio is a customized version of IntelliJ IDEA, I searched for similar problems with creating a Launcher entry for IDEA on Stack Overflow and I found this question: I had the same problem with Android Studio on Ubuntu 14.04. Note that there is an updated version of this answer and I suspect that it might apply to android studio as well.

Now, you can launch IntelliJ from Ubuntu dash. Then execute the following command to automatically install it in the unity: desktop-file-install sktopĬreate a symlink in /usr/local/bin using cd /usr/local/binįor idea icon to be displayed in dash, idea icon can be added as cp /opt/idea/bin/idea.png /usr/share/pixmaps/idea.png Ĭomment=Integrated Development Environment Move the extracted folder to /opt/idea mv ideaIC-XX.Y.Z /opt/ideaĬreate a desktop file and install it: gedit sktopĪnd copy the following to the sktop file. Since Android Studio is the same in this context I will link to the answer and copy it here.Įxtract ideaIC-XX.Y.Z.tar.gz using tar -zxvf ideaIC-XX.Y.Z.tar.gz Is there something I am doing wrong? I just want a simple launcher icon for Android Studio on my dash! I am using Ubuntu 14.04. This also created an icon in my Dash but Android Studio refuses to launch with this also. Icon=/home/jayant/Android/android-studio/bin/idea.png desktop entry and tried the method mentioned in this blog post, which required me to create the following sktop file and paste it in /home/jayant/.local/share/applications directory When this didn't help, I deleted the above mentioned. Icon=/home/jayant/Android/android-studio/bin/androidstudio.svgĮxec="/home/jayant/Android/android-studio/bin/studio.sh" %f If it's of any help, I am pasting the sktop entry this method created in the /usr/share/applications directory: It did create an entry on the dash, but somehow Android Studio does not launch by clicking on it. However, I want to create a launcher on the Dash and side menu for launching it easily.Īfter going through some other questions like this, I first tried the Tools > Create Desktop Entry method. I currently launch android studio by going to /path-to-android-studio/bin and running.
