Hey emulators in this guide I will show you how to install Android SDK on Ubuntu Linux.As it is developed by Google it has a large community and a great support.It is most preferred by developers.
Table of Contents
Installing Java SDK
First you have to install Oracle on Java 7 (JDK and JRE)
Download Java SDK 32 or 64 bit depending upon your version.
Then extract the file in the /tmp folder.Al dialogue box will pop up, click on replace all.An error will also pop out click close.
Go to tmp folder,a new folder name jdk and version must be created.right click on the folder and then click on rename and copy the name of the folder.
First write this command and click enter.
Then write this command and press enter
if [ ! -d ‘/usr/lib/jvm’ ]; then mkdir /usr/lib/jvm; fi
Paste this command
mv /tmp/jdk1.8* /usr/lib/jvm/
jdk1.8* = replace it with the name of the extracted folder in this example =jdk1.8.0_05
and press enter
java,javac,jar,javaws = we have to replace these
update-alternatives – -install /usr/bin/java java /usr/lib/jvm/jdk1.8*/bin/java 1065
update-alternatives – -install /usr/bin/javac javac /usr/lib/jvm/jdk1.8*/bin/javac 1065
update-alternatives – -install /usr/bin/jar jar /usr/lib/jvm/jdk1.8*/bin/jar 1065
update-alternatives – -install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.8*/bin/javaws 1065
update-alternatives – -config java
Thanks to Omar you can also refer to this video tutorial
Installing Android SDK
So that was our guide on installing JDK on ubuntu and Installing Android SDK on ubuntu.
If you have any question about how to install android sdk on ubuntu ask in comments section!