Install Android Studio on Ubuntu

1 minute read

Android Studio is the official IDE for Android. It’s open-source, distributed under the Apache license. This tutorial is going to show you how to install Android Studio on Ubuntu 16.04.

Install Java 8 on Ubuntu 16.04

No matter which method you choose, you first need to install Java. It’s recommended to install Oracle Java, because it has a performance edge over OpenJDK. Run the following commands in terminal to install it from PPA.

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install java-common oracle-java8-installer

During the installation process you will need to accept the Oracle License agreement. Once installed we need to set Java environment variables such as

JAVA_HOME on Ubuntu 16.04.

sudo apt-get install oracle-java8-set-default

source /etc/profile

The above two commands will set the correct Java environment variables.

Installing Android Studio in Ubuntu 16.04

At the time of this writting, the latest stable version is Android Studio 2.3.1, release on April 2, 2017. Run the following commands to add Android Studio PPA and install it.

sudo add-apt-repository ppa:maarten-fonville/android-studio

sudo apt update

sudo apt install android-studio

During the installation, the latest Android Studio zip file will be downloaded from Google server. Once the installation is finished, you can open Android Studio from Unity Dash or your preferred app launcher.

If the icon didn’t load, then please log out and log back in or use the following command to start Android Studio.

Comments

Irish

I see your website doesn’t rank in google’s top 10, but your articles can get into top 10.

You should choose the right longtail keywords before you write a post. How to find super easy longtail keywords? Search in google for; Fasrixo’s tools

Emma

I have noticed you don’t monetize your site, don’t waste your traffic, you can earn extra cash every month. You can use the best adsense alternative for any type of website (they approve all websites), for more info simply search in gooogle: boorfe’s tips monetize your website

Darci

Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why waste your intelligence on just posting videos to your site when you could be giving us something informative to read?

Leave a comment

Your email address will not be published. Required fields are marked *

Loading...