This post is to explain steps required to setup Android SDK on Ubuntu 10.4 (Lucid Lynx). http://developer.android.com/sdk 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.
- JDK 6
- Eclipse (Ganemyde/Galelio)
- 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 http://archive.canonical.com/ lucid partnerdeb-src http://archive.canonical.com/ lucid partner
./adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db “\”INSERT INTO system VALUES(99,’http_proxy’,'[HOST]:[PORT]’);\””*replace the HOST:PORT with valid proxy details.