Run Android Studio after installation (and other programs)
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.
Just wanted to let you know that you don't have to run the install every time. Here is how I installed Android Studio, and how I run it from my applications menu.
At the Android Studio start screen below, click on configure then create desktop entry.
Now you should have a shortcut in your applications menu.
Use these commands in the Terminal
cd /opt/android-studio/bin
./studio.sh