YouTube Icon

How to Install Android Studio on Ubuntu 18.04




How to Install Android Studio on Ubuntu 18.04

Android Studio is a full-featured cross-platform IDE that helps you build applications on every type of Android device. It is based on JetBrains’ IntelliJ IDEA and includes everything you need for Android development.

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

This tutorial explains how to install Android Studio on Ubuntu 18.04. The same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Kubuntu, Linux Mint, and Elementary OS.

Prerequisites

You’ll need to be logged in as a user with sudo access to be able to install packages on your Ubuntu system.

Installing Java OpenJDK

Android Studio requires OpenJDK version 8 or above to be installed to your system.

We'll install OpenJDK 8. The installation is pretty simple, start by updating the package index:

sudo apt update

Install the OpenJDK 8 package by typing:

sudo apt install openjdk-8-jdk

Verify the installation by typing the following command which will print the Java version:

java -version

The output 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 time of writing this article, the latest stable version of Android Studio is version 3.3.1.0. The easiest way is to install Android Studio on Ubuntu 18.04 is by using the snappy packaging system.

To download and install the Android Studio snap package, open your terminal using the Ctrl+Alt+T keyboard shortcut and type:

sudo snap install android-studio --classic

Once the installation is complete, you will see the following output:

android-studio 3.3.1.0 from Snapcrafters installed

That's it. Android Studio has been installed on your Ubuntu desktop.

Starting Android Studio

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

When you start Android Studio for the first time, a window like the following will appear asking you to import Android Studio settings from a previous installation:

Once you click on the OK button, the Setup Wizard window will appear. Click on the Next button to start the initial configuration and post-installation steps.

Next, you will be prompted to choose the type of setup you want for Android studio. Most likely you will want to select the “Standard” option.

On the next step you can select the UI theme and the Setup Wizard will download and install the required SDK components. The process may take some time depending on your connection speed.

Once the Android Studio IDE is loaded, you'll be presented with the Welcome page:

Conclusion

You have learned how to install Android Studio on your Ubuntu 18.04 desktop. You can now explore your new IDE and start working on your Android projects.



Author Biography.

Lokesh Gupta
Lokesh Gupta

Overall 3+ years of experience as a Full Stack Developer with a demonstrated history of working in the information technology and services industry. I enjoy solving complex problems within budget and deadlines putting my skills on PHP, MySQL, Python, Codeigniter, Yii2, Laravel, AngularJS, ReactJS, NodeJS to best use. Through Knowledge of UML & visual modeling, application architecture design & business process modeling. Successfully delivered various projects, based on different technologies across the globe.

Join Our Newsletter.

Subscribe to CrowdforThink newsletter to get daily update directly deliver into your inbox.

CrowdforGeeks is where lifelong learners come to learn the skills they need, to land the jobs they want, to build the lives they deserve.

CrowdforGeeks

CrowdforThink is a leading Indian media and information platform, known for its end-to-end coverage of the Indian startup ecosystem.

CrowdforThink

Our mission is "Har Koi Dekhe Video, Har Ghar Dekhe Video, Ghar Ghar Dekhe Video" so we Provide videos related to Tutorials, Travel, Technology, Wedding, Cooking, Dance, Festivals, Celebration.

Apna Video Wala
CFT

News & Blogs

ccaf82801baa095f9c3071c416739b6d.png

How to Change Root Password in Ubuntu Linux

The root user (or superuser) is a special user account that is present on all Linux and Unix-like...

8919584a849912ad441d3676bf8760d9.png

How to Install Tor Browser on Ubuntu 18.04

Tor Browser routes your web traffic through the Tor network, making it private and anonymous. Whe...

b90f0045a54365d8b1ca91f5175348c7.png

How to Install Netbeans on Ubuntu 18.04

Netbeans is a full-featured cross-platform IDE that helps you build applications in Java, PHP, an...

Top Authors

Lamia Rochdi is the Marketing Manager at Bell Flavors & Fragrances EMEA. A successful family-...

Lamia Rochdi

I’m Mertin Wilson a technician in a camera company and certified expert of different P...

Mertin Wilson

Zakariya has recently joined the PakWheels team as a Content Marketing Executive, shortly after g...

Zakariya Usman

Pankaj Singh is a Senior Digital Marketing Consultant with more than 2 years of experience in SEO...

Pankaj Singh
CFT

Our Client Says

WhatsApp Chat with Our Support Team