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
- Download the Android Studio and the SDK tools from
Now for 32-bit Linux System :
1.No need to install any additional libraries you can simply go further by extracting the android-studio.zip or tar.gz file
- Now go in the extracted directory of android-studio from terminal
- Again go in the /bin directory using $]cd bin
- now from that directory run the following command
sl3lab@practnode0:~/Documents/android-studio/bin$ ./studio.sh and hit enter
and left that terminal open…
- Click on Next Next then It will Ask to Setup Proxy for the Android SDK tools Click on Cancel
- Now go in Configure (the second last option )—>go in Projects Defaults—->Project Structure
- 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:
- sl3lab@practnode0:~$ ]sudo apt-get install lib32z1
- sl3lab@practnode0:~$ ]sudo apt-get install lib32ncurses5
- sl3lab@practnode0:~$ ]sudo apt-get install libbz2-1.0:i386
- 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…!
Amrutvahini College of Engineering, Sangamner