How to install Android Studio 2.1.2 on Ubuntu 16.04

Android Studio 2.1.2 recently released, is a new Android development environment based on IntelliJ IDEA and similar to Eclipse with the ADT Plugin. Android Studio provides integrated Android developer tools for development and debugging. The latest version Android Studio 2.1.2 includes minor bug fixes, instant run improvements, and native development performance enhancements.

android studio 2.1.2

Android Studio 2.1.2 includes a number of small changes and bug fixes:

  • Instant Run updates and bug fixes
  • Improved performance in LLDB and a notification in studio when there are LLDB crashes.
  • Git rebase command now works with Android Studio’s latest security update.
  • And a few additional general fixes

Android Studio 2.1.2 - Update Dialog

Install Android Studio 2.1.2 on Ubuntu 16.04 and Derivatives

Since Android Studio 2.1.2 is not yet available on any PPA repository, we will go ahead and install it via the source file. Before we do that, we need to first install Oracle Java JDK/JRE 7 which is required for Android Studio to run.

Please note that Java 9 appears not to work so stick to Java 7. I have not tried it with Java 8 but feel free to do so and let us know if it worked.

sudo apt-get purge openjdk*s

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer

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

Download and Install Android Studio 2.1.2 package

wget https://dl.google.com/dl/android/studio/ide-zips/2.1.2.0/android-studio-ide-143.2915827-linux.zip

unzip android-studio-ide-143.2915827-linux.zip

cd android-studio/bin

./studio.sh

Follow the on screen instruction to complete the installation.

 
comments powered by Disqus