Ubuntu 16.04: Install Android Studio 2.2

This article will describe installing Android Studio 2.2.

1 Install package for Android Studio

Install package for Android Studio.

$ sudo apt install -y gcc-multilib g++-multilib libc6-dev-i386 \
qemu-kvm mesa-utils

2 Install Android Studio

Download archive from Android Studio page.

0001_AndroidStudio.png

Extract archive.

$ unzip android-studio-ide-145.3360264-linux.zip -d ~/bin
$ ~/bin/android-studio/bin/studio.sh

Dialog is displayed. Press Next.

0002_Rename.png

Select Standard and press Next.

0003_InstallType.png

Press Next.

0004_VerifySettings.png

Press Finish.

0005_EmulatorSettings.png

Press Finish.

0006_DownloadingComponents.png

Android Studio is run.

0007_Start.png

Now Android Studio icon is at launcher. You can register icon with right click "Lock to Launcher".

0008_Launcher.png

3 The files of Android Studio

The files of Android Studio is as below.

Android Studio setting ${HOME}/.AndroidStudio2.2
Android Studio source code ${HOME}/AndroidStudioProjects
Android SDK ${HOME}/Android/Sdk
AVD settinig ${HOME}/.android

4 Android NDK

Install Android NDK from Android Studio.

File -> Settings -> Appearance & BEhavior -> System Settings -> Android SDK

0009_NDK.png

Android NDK is installed to ${HOME}/Android/Sdk/ndk-bundle.

5 Software GLES 2.0

In case of virtual machine, AVD cannot be run without setting "Emulated Performance" to "Software GLES 2.0".

0010_SoftwareGLES.png