Ubuntu – Run Android Studio after installation (and other programs)

androidandroid-studioinstalled-programslauncher

I downloaded Android Studio from the official website, started the installer with the terminal (studio.sh) it installed completely, wrote some lines of code, closed Android Studio, now I don't know how I can open it again. the studio.sh just starts the setup wizard again and I also can't find the directory where it could be installed in.

So where are the installed programs at and how can I run them?

Best Answer

Short answer

You need to run it via the studio.sh, every time, as that is the startup script.

Long answer

It will not truly 'install'. It is kind of an annoyance for first time users, but it is truly a stand-alone package, it will drop the SDK in your /home and you need the android-studio and jdk1.8.0_45 folders at a fixed location.

First, you need to set the JAVA_HOME path in your /etc/environment or ~/.bashrc configuration to the jdk1.8.0_45 folder before it will run.

After setting your JAVA_HOME, run studio.sh again and it will boot the IDE. Then at the menu, hit the Configure button then hit Create Desktop Entry. You should now have a start menu icon, and desktop icon which you can easily use.

Next time you boot and create a project it should download the SDK required for building.