How to Install Android Studio on Ubuntu 18.04

Install Android Studio on Ubuntu 18.04

In this article, we will have explained the necessary steps to install and configure Android Studio on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Android Studio provides the fastest tools to build apps for every type of Android device. World-class code editing, debugging, performance tooling, a flexible build system, and an instant build/deploy system all allow you to focus on building unique and high-quality apps.

Android Studio build system is powered by Gradle allowing you to create multiple build variants for different devices from a single project.


  • Operating System with Ubuntu 18.04
  • Server IPv4 Address with Superuser Privileges (Root Access)
  • Gnome Terminal for Linux Desktop
  • PuTTy SSH client for Windows or macOS
  • Powershell for Windows 10/11
  • Familiar with APT Commands

Install Android Studio on Ubuntu

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Java.

Run the following command to install Java from the APT repositories:

sudo apt install openjdk-8-jdk

Verify the installation:

$ java -version
openjdk version "1.8.0_196"
OpenJDK Runtime Environment (build 1.8.0_196-8u191-b12-2ubuntu0.18.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

Step 3. Install Android Studio on Ubuntu.

Install the Android Studio using the snap package:

sudo snap install android-studio --classic

Installation would take at least 10 or 15 mins to complete. Once the installation is complete, you will see the following output:

android-studio from Snapcrafters installed

Step 4. Accessing Android Studio.

Once installed, you can start Android Studio either by typing android-studio in your terminal or by clicking on the Android Studio icon (Activities -> Android Studio).

That’s all you need to do to install Android Studio on Ubuntu 18.04 LTS. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.