Recently, I am trying to migrate my Android application development environment to Ubuntu (Linux Desktop). Installing Android Studio itself is easy and works, but I've taken the time to create a shortcut so I'd like to summarize it.
Installing Android Studio is easy, just download Android Studio and unzip it to any location. This time, extract Android Studio to / opt and install it.
$ cd /opt $ tar -zxvf ~/Downloads/android-studio-ide-192.6392135-linux.tar.gz /Desktop
The installed Android Studio can be started by running /opt/android-studio/bin/studio.sh. However, it is troublesome to start from the terminal every time, so create a shortcut (Desktop file) so that it can be started from the Ubuntu launcher.
** Desktop file description example **
[Desktop Entry] Type=Application Encoding=UTF-8 Name=Android Studio Commend=Android Studio Exec=/opt/android-studio/bin/studio.sh Icon=/opt/android-studio/bin/studio.png
Once you've created the shortcut, you'll be able to launch Android Studio from the Ubuntu launcher.