0% found this document useful (0 votes)
59 views

Android Studio 3 in Ubuntu

The document discusses how to install Android Studio 3.0 in Ubuntu operating systems. It provides two methods: using Maarten Fonville's PPA or Ubuntu Make. The PPA method involves adding the PPA, updating packages, and installing Android Studio. The Ubuntu Make method requires installing Ubuntu Make first, then using it to install Android Studio while accepting the license. Both methods automatically download and install all required Android SDK components.

Uploaded by

Arja'un Tea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Android Studio 3 in Ubuntu

The document discusses how to install Android Studio 3.0 in Ubuntu operating systems. It provides two methods: using Maarten Fonville's PPA or Ubuntu Make. The PPA method involves adding the PPA, updating packages, and installing Android Studio. The Ubuntu Make method requires installing Ubuntu Make first, then using it to install Android Studio while accepting the license. Both methods automatically download and install all required Android SDK components.

Uploaded by

Arja'un Tea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Android Studio 3.0 Released!

How to Install it in
Ubuntu
Android Studio reached the new major 3.0 release. Here’s how to install it in Ubunu 14.04, Ubuntu 16.04, Ubuntu 17.10.

Android Studio 3.0 features:

 Ability to develop apps with Kotlin, a newer programming language designed to interoperate with existing Java code

 An SDK for creating Instant Apps

 New templates for Android Things applications, XML and downloadable fonts for Android 8.0 and higher

 A new wizard for creating adaptive icons.

 Android Plugin for Gradle 3.0.0 with significant performance improvements to large multi-module projects.

 Ability to create Android 8.0 emulators with the Google Play Store pre-installed

How to Install Android Studio 3.0 in Ubuntu:


You can easily install it either via Maarten Fonville’s PPA or by using Ubuntu Make in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, and Ubuntu
17.10.

The Maarten Fonville’s PPA contains installer script that automatically downloads Linux package from Google, and installs it into /opt/ for global
use.

1. Open terminal via Ctrl+Alt+T and run command to add the PPA:

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

Input your password (no visual feedback while typing) when it prompts and hit Enter.

2. Then update and install the IDE via commands:

sudo apt-get update

sudo apt-get install android-studio

To install Android Studio 3.0 via Ubuntu Make, you need to first install the latest Ubuntu Make from this PPA. Then run command to install the
IDE after accepting license.

umake android
2 Ways to Install Android Studio in
Ubuntu 16.04 and Ubuntu 17.04
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 and Ubuntu 17.04 using two methods: PPA and Ubuntu make.
They are both very easy.

Install Java 8 on Ubuntu 16.04, Ubuntu 17.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/17.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, 17.04 via PPA


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.
/opt/android-studio/bin/studio.sh

Select whether you want to import previous Android Studio settings or not, then click OK.

If you encounter the error “unable to access Android SDK add-on list”, then you will need to set up a proxy.

Then follow the setup wizard. You will prompted to install Android SDK Tools, Android platform tools, Android support library,
etc.
Installing Android Studio in Ubuntu 16.04/17.04 Using Ubuntu
Make
You can easily install the latest version of Android Studio via Ubuntu make, which is a command line tool that allows you to
download the latest version of popular developer tools.

Install Ubuntu make from PPA

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make

sudo apt update

sudo apt install ubuntu-make

Then install Android Studio using Ubuntu make.

umake android --accept-license

umake will download and install all required component like latest android SDK, Android platform tools, etc. It will also create
a desktop icon.

That’s it! I hope this tutorial helped you install Android Studio in Ubuntu 16.04/17.04 using command line
with PPA or Ubuntu Make.

You might also like