Android, Technical

Setting up Android Studio on Ubuntu and Linux Mint Rosa


Following are the steps to install the Android Studio Environment on Linux systems such as Linux Mint and Ubuntu.

Andoid Studio needs JDK to be installed so please install it by typing following command on terminal if already installed the skip

sl3lab@practnode0:~/Documents/android-studio/bin$ ] sudo apt-get update

sl3lab@practnode0:~/Documents/android-studio/bin$ ] sudo apt-get install default-jdk

  1. Download the Android Studio and the SDK tools from

    download android-studio and sdk

Now for 32-bit Linux System :

1.No need to install any additional libraries you can simply go further by extracting the or tar.gz file

  1.   Now go in the extracted directory of android-studio from terminal
  1. Again go in the /bin directory using   $]cd bin
  2. now from that directory run the following command

sl3lab@practnode0:~/Documents/android-studio/bin$ ./  and hit enter

and left that terminal open…

  1. Click on Next Next then It will Ask to Setup Proxy for the Android SDK tools Click on Cancel
  2. Now go in Configure (the second last option )—>go in Projects Defaults—->Project Structure
  3. Now you have Installed JDK so the path of the JDK will come automatically there

for the Android SDK Location set path of extracted android-sdk_r24.4.1-linux.tgz

and click OK.

now you have Successfully installed the Android Studio Environment on 32 bit.

Now for 64-bit Linux System :

The Problem with the 64 bit system is that Android SDK are of 32 bits in size so you need to install the lib32 libraries so that your 64 bit system would understand them…

it can be done by running following command in terminal

sl3lab@practnode0:~$ ]sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

if it says that…

E: Unable to locate package lib32bz2-1.0

E: Couldn’t find any package by regex ‘lib32bz2-1.0’

then go with following steps:

  1. sl3lab@practnode0:~$ ]sudo apt-get install lib32z1
  1. sl3lab@practnode0:~$ ]sudo apt-get install lib32ncurses5
  1. sl3lab@practnode0:~$ ]sudo apt-get install libbz2-1.0:i386
  1. sl3lab@practnode0:~$ ]sudo apt-get install lib32stdc++6

and Now run the same steps as mentioned for 32 bit system…

Set path for Android SDK and JDK(automatically comes).

You have successfully installed the Android Studio Environment on 64 bit.

Hurray That’s done…!

Author :


Amrutvahini College of Engineering, Sangamner