Objective

The objective is to perform an installation of the Android Studio on Ubuntu 16.04 Xenial Xerus Linux

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user

Instructions

Download Android Studio

The first step is to use web browser and navigate to https://developer.android.com/studio/ to download Android Studio IDE for Linux. Save the zipped bundle file locally into eg. Downloads directory.

ubuntu 16.04 Xenial download android studio

Install Prerequisites

Android Studio requires few prerequisites before it can be installed. Run the following command to fulfill this requirement:
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

Unzip Android Studio Bundle

Still within the Downloads directory execute unzip command to decompress the android studio bundle:
$ unzip -qq android-studio-ide-145.3537739-linux.zip
ubuntu 16.04 Xenial unzip android studio

Install Android Studio

At this stage we will install Android Studio by starting the Android Studio installation wizard. First, move the android-studio directory into a shared /opt directory and start installation wizard:
$ sudo mv android-studio /opt/
$ sudo /opt/android-studio/bin/studio.sh
Follow wizard's instructions to complete Android Studio installation on your Ubuntu 16.04 Xenial Xerus Linux.
ubuntu 16.04 Xenial installation wizard android studio

ubuntu 16.04 Xenial installation wizard android studio

Start Android Studio

To start the newly installed Android Studio run:
$ /opt/android-studio/bin/studio.sh
ubuntu 16.04 Xenial android studio installed