I’ve made several false starts on this. So, I’ve decided to document my process so maybe I’ll help out some other unfortunate souls.
Word on the street is that Sun’s Java is the one to install. Those packages are no longer available in Ubuntu default repos anymore, so we’ll have to install by adding another package repository.
sudo apt-get install python-software-properties sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install ant sun-java6-jdk sun-java6-jre sun-java6-bin sun-java6-plugin
The Android SDK is currently shipped just as a 32 bit package. If you have a 64bit OS, you should consider doing the following
sudo apt-get install ia32-libs
Now you’re ready to install the Android SDK, which is available through this link.
tar xfz android-sdk_r16_linux.tgz cd android-sdk-linux/tools ./android update sdk --no-ui
At this point you should have adb in ‘android-sdk-linux/platform-tools‘. This is pretty much everything you need to compile unless you want to use Eclipse. If you are just learning how to use the SDK, you should continue on to Android’s Dev Guide or perform the ‘Hello World’ Tutorial.