Monday, May 16, 2016

How to Install Android Studio on Ubuntu 14.04

Followings are steps needed to install Android Studio on Ubuntu 14.04:

There are some tutorials that suggest the installation using PPA. However, sometime it does not work because the PPA listed is no longer available or for any other reasons. In this post, I write manual way for installation. This way is much safer and more guarantee that it will work. Please let me know if you have any problem.

Preparation
If you run 64-bit ubuntu, install the following packages first. If you run 32-bit, you may skip this step and go to the next step
$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Download JDK from Oracle
You can download from their website. When I write this post, the download page is located here. However, they may move the download page. In case you don't find in that link, you can ask Google to find the download page for you.

Extract JDK
You can use Files Manager or use terminal. If you want to use terminal, you can use this command:
$ tar xzf jdk-8u92-linux-x64.tar.gz
Install JDK 
Install jdk into /usr/bin
$ update-alternatives --install /usr/bin/java java /home/arwan/Downloads/jdk1.8.0_92/bin/java 100

$ update-alternatives --install /usr/bin/javac javac /home/arwan/Downloads/jdk1.8.0_92/bin/javac 100

Check if java has been installed
$ java -version

Download Android Studio
You can download Android studio here.

Extract Android Studio
$ unzip android-studio-ide-143.2821654-linux.zip

Move all android-studio folder to /usr/local
$ mv /home/arwan/Downloads/android-studio /usr/local

Install Android Studio
$ /usr/local/android-studio/bin/studio.sh
Next, just follow the steps until your Android Studio is installed.

2 comments:

Wisnu Kurniawan said...

Mantap pak, masih sering main android ya pak

Zahid Hamidi said...

Assalamu alaikum warohmatullahi wabarakatu.
Saya ingin berbagi cerita siapa tau bermanfaat kepada anda bahwa saya ini seorang TKI dari johor bahru (malaysia) dan secara tidak sengaja saya buka internet dan saya melihat komentar bpk hilary joseph yg dari hongkong tentan MBAH WIRANG yg telah membantu dia menjadi sukses dan akhirnya saya juga mencoba menghubungi beliau dan alhamdulillah beliau mau membantu saya untuk memberikan nomer toto 6D dr hasil ritual beliau. dan alhamdulillah itu betul-betul terbukti tembus dan menang RM.457.000 Ringgit selama 3X putaran beliau membantu saya, saya tidak menyanka kalau saya sudah bisa sesukses ini dan ini semua berkat bantuan MBAH WIRANG,saya yang dulunya bukan siapa-siapa bahkan saya juga selalu dihina orang dan alhamdulillah kini sekaran saya sudah punya segalanya,itu semua atas bantuan beliau.Saya sangat berterimakasih banyak kepada MBAH WIRANG atas bantuan nomer togel Nya. Bagi anda yg butuh nomer togel mulai (3D/4D/5D/6D) jangan ragu atau maluh segera hubungi MBAH WIRANG di hendpone (+6282346667564) & (082346667564) insya allah beliau akan membantu anda seperti saya...