Installing Android SDK on Ubuntu 10.04 LTS ( Lucid Lynx )

This post is to explain steps required to setup Android SDK on Ubuntu 10.4 (Lucid Lynx). has most of the information required to do this setup, but i still faced not so significant problems in setting the environment.I hope this small write up can help you not to run into the problems i faced with latest Ubuntu installation.

Following packages/software needed to be present  to start with Android development.

  1. JDK 6
  2. Eclipse (Ganemyde/Galelio)
  3. Android SDK tools

Setting up Sun’s JDK 6 on Ubuntu 10.04 is not straight forward(at least with just installed Ubuntu 10.04 machine). Sun’s JDK 6 package name is sun-java6-jdk.“sudo apt-get install sun-java6-jdk” doesn’t work as this package could not be found with the repositories present in /etc/apt/source.list. It is required to update the sources.list with following lines

deb-src lucid partner
After adding the above lines do an “sudo apt-get update”, after this steps “sudo apt-get install sun-java6-jdk”  should install the latest Sun’s Java Development Kit. You don’t have to modify PATH or add JAVA_HOME to .bashrc as the java binaries are installed to /usr/bin and /usr/lib. If you download the jdk installable form Sun’s website and extract it on your own, you need to update PATH and add JAVA_HOME to you environment variables, instead of doing this you can update the sources.list and follow the above steps.Post in techgyan by Aditya ( helped me to do this.Thanks to Aditya.

Next step will be downloading the right version of Eclipse IDE.To keep the setup simple i downloaded Eclipse JAVA IDE from Just unzip the tar ball you can see the eclipse folder.
Now download the Android SDK tools from, extract it and add android-sdk-linux_86/tools to PATH variable, so that android tools will be located by Eclipse.Start the eclipse and install the ADT plugin by following instructions at window->Android SDK and AVD manager to download latest android platform and google maps API ( detailed steps are at ).

Now the setup is complete, you can create HelloAndroid application and start developing the applications. If you are behind a proxy/firewall start the emulator and run the following command from android-sdk-linux_86/tools:
./adb shell sqlite3 /data/data/ “\”INSERT INTO system VALUES(99,’http_proxy’,'[HOST]:[PORT]’);\””
*replace the HOST:PORT with valid proxy details.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: