Download and Install Android SDK in Ubuntu 12.04

Android SDK is a development environment for the Android mobile operating system which allows you to write applications for Android devices or gain elevated privileges on android devices with the help of third party software.

This brief tutorial is going to show you how to download and install it in Ubuntu 12.04. To install it, you first need to install Java JDK package or use the openJDK Java alternative that comes with Ubuntu.
 
Step 1 – Install Oracle Java Version
 
First we need to install openJDK version of Java. To install Oracle Java version.
To get started, press Ctrl + Alt + T on your keyboard to open the terminal. When it opens, run the commands below to install OpenJDK.
 
sudo apt-get install openjdk-6-jre openjdk-6-jdk icedtea6-plugin


Step 2 – Download SDK Package
 
Next, download AndroidSDK package by running the commands below. Now the current version was r20. Or click this link to download the .tgz archive file.
 
wget http://dl.google.com/android/android-sdk_r20-linux.tgz


Step 3 – Extract Downloaded File

After downloading, run the commands below to extract the downloaded file.
 
tar -xvzf android-sdk_r20-linux.tgz


Step 4 – Change Directory
 
After extracting the package, run the command below to change into the tools directory.
 
cd ~/android-sdk-linux/tools


Step 5 – Begin Installation
 
Finally, run the commands below to begin the installation.
 
./android


Step 6 – Install Updates
 
Install Android updates if there are any available.
 
sdk_update_manager_packages


Step 7 – Include Android SDK
 
After updating, run the commands below to include AndroidSDK in your path environment.
 
gedit ~/.bashrc
 
Then add these lines at the very top of the file and save it.
 
export PATH=${PATH}:~/android-sdk-linux/tools
export PATH=${PATH}:~/android-sdk-linux/platform-tools


Step 8 – Log out ang Log back

Log out and log back in, then type android on the command line to launch the software.

Detailed instruction for installing andoid SDK can be found in the following link

http://developer.android.com/sdk/installing/index.html

Andoid sdk in ubuntu


 

You can leave a response, or trackback from your own site.

3 Responses to “Download and Install Android SDK in Ubuntu 12.04”

  1. e-ticaret says:

    Great weblog here! Additionally your site so much up very fast! What host are you the usage of? Can I am getting your associate link to your host? I want my site loaded up as fast as yours lol

  2. Loved your post! Love and care is key to everything, so true.

Leave a Reply