YouTube Icon

Code Playground.

How to Install Android Studio on Ubuntu 18.04


How to Install Android Studio on Ubuntu 18.04

Android Studio is a full-highlighted cross-stage IDE that encourages you construct applications on each sort of Android gadget. It depends on JetBrains' IntelliJ IDEA and incorporates all you require for Android advancement. 

Android Studio construct framework is controlled by Gradle permitting you to make various form variations for various gadgets from a solitary task. 

This instructional exercise discloses how to introduce Android Studio on Ubuntu 18.04. Similar guidelines apply for Ubuntu 16.04 and any Ubuntu-based dissemination, including Kubuntu, Linux Mint, and Elementary OS. 


You'll should be signed in as a client with sudo admittance to have the option to introduce bundles on your Ubuntu framework. 

Installing Java OpenJDK

Android Studio requires OpenJDK rendition 8 or above to be introduced to your framework. 

We'll introduce OpenJDK 8 . The establishment is pretty straightforward, start by refreshing the bundle file: 

sudo apt update

Introduce the OpenJDK 8 bundle by composing: 

sudo apt install openjdk-8-jdk

Confirm the establishment by composing the accompanying order which will print the Java adaptation : 

java -version

The yield should look something like this: 

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

Installing Android Studio

At the hour of composing this article, the most recent stable adaptation of Android Studio is variant The most straightforward route is to introduce Android Studio on Ubuntu 18.04 is by utilizing the smart bundling framework. 

To download and introduce the Android Studio snap bundle, open your terminal utilizing the Ctrl+Alt+T console easy route and type: 

sudo snap install android-studio --classic

When the establishment is finished, you will see the accompanying yield: 

android-studio from Snapcrafters installed

That is it. Android Studio has been introduced on your Ubuntu work area. 

Starting Android Studio

You can begin Android Studio either by composing android-studio in your terminal or by tapping on the Android Studio symbol (Activities - > Android Studio). 

At the point when you start Android Studio unexpectedly, a window like the accompanying will show up requesting that you import Android Studio settings from a past establishment: 

Ubuntu Android Studio Launch 

When you click on the OK catch, the Setup Wizard window will show up. Snap on the Next catch to begin the underlying design and post-establishment steps. 

Next, you will be incited to pick the kind of arrangement you need for Android studio. No doubt you will need to choose the "Standard" alternative. 

Ubuntu Android Studio Launch 

On the subsequent stage you can choose the UI topic and the Setup Wizard will download and introduce the necessary SDK parts. The cycle may take some time contingent upon your association speed. 

When the Android Studio IDE is stacked, you'll be given the Welcome page: 

Ubuntu Android Studio Welcome 


You have figured out how to introduce Android Studio on your Ubuntu 18.04 work area. You would now be able to investigate your new IDE and begin chipping away at your Android ventures. 

To discover more data about how to create applications utilizing Android Studio visit the Android Studio documentation page. 

In the event that you have any inquiries, if it's not too much trouble leave a remark beneath.