In this tutorial we are going to learn how to install Android Studio on Ubuntu 18.04 Bionic Beaver. We will also install and configure its prerequisites. Android Studio is an official IDE for android development. Developed by Google and Jetbrains, Android Studio is popular IDE tool that’s available for Windows, Mac and Linux based system.
I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 18.04 LTS minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Android Studio on Ubuntu 18.04
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
apt-get update -y apt-get upgrade -y
Step 2. Install Java.
You need to have Java installed in your system before installing Android Studio:
sudo apt install openjdk-9-jre openjdk-9-jdk
Step 3. Install Android Studio on Ubuntu 18.04 LTS.
- Method 1. Install Android Studio using Snap:
sudo snap install android-studio --classic
- Method 2. Install Android Studio using Command Line:
sudo add-apt-repository ppa:maarten-fonville/android-studio sudo apt update sudo apt install android-studio
- Method 3. Install Android Studio using make command:
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt update sudo apt install ubuntu-make
Next Install android studio using make:
umake android --accept-license
Congratulation’s! You have successfully install and configured Android Studio on your Ubuntu 18.04 LTS server. Thanks for using this tutorial installing Android Studio on Ubuntu 18.04 LTS (Bionic Beaver) system.