Installing Android SDK on Ubuntu Desktop 13.04

I want to learn about Android application and heard about phonegap. Android SDK is a must have before proceed to next step. Here my documentation for install android SDK on my Ubuntu Desktop 13.04 :

Get latest SDK Tools, minimalist is better. I pick SDK Tools only.

After get the link via firefox I decide to use wget :

$ wget -c http://dl.google.com/android/android-sdk_r22.3-linux.tgz
$ mv android-sdk_r22.3-linux.tgz /home/alamsyah/
$ cd /home/alamsyah/
$ tar xvzf android-sdk_r22.3-linux.tgz

update path ::

$ export PATH="$HOME/android-sdk-linux/tools:$HOME/android-sdk-linux/platforms:$PATH"

$ echo $PATH

/home/alamsyah/android-sdk-linux/tools:/home/alamsyah/android-sdk-linux/platforms:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

install jdk and  ant

$ sudo apt-get install openjdk-6-jdk ant

Selection_002

Click Install 9 Packages button to continue and get rid of “missing platform tools” error message.

Selection_003

After install remaining packages then the path need to adjust :

PATH=“$HOME/android-sdk-linux/tools:$HOME/android-sdk-linux/platforms:$HOME/android-sdk-linux/platform-tools:$PATH”
Last one need to install related to Android SDK is : android debug bridge
$ sudo apt-get install android-tools-adb

Enough :-)