Home > Android, Programming > Installing Android SDK on Ubuntu 12.04

Installing Android SDK on Ubuntu 12.04

The official instructions to install Android SDK do not appear to be really up-to-date for Ubuntu 12.04, so I’ll post how I’ve installed the Android SDK and Eclipse on Ubuntu 12.04.

First download and decompress Android SDK for Linux:

on 64-bit Ubuntu:

Sun Java is not part of Ubuntu packages anymore, so you’ll need to use openjdk instead

Now install the SDK

Android SDK Manager should show up.

Android SDK Manager in Ubuntu 12.04

Use the default recommended packages and platforms, as well as any extra packages you may need, and click on Install x packages, accept all licenses and after installation is complete, the Android SDK is installed.

Eclipse IDE is optional, but it’s the most widely used IDE to develop Android apps. You can install Eclipse as follows:

Once both Android packages and platforms, and eclipse are installed, start eclipse:

Then in the top menu, click on Help->Install New Software, then click on Add and enter “ADT Plugin” for the Name and the following URL for the Location:

Click on OK, and Check “Developer Tools” and click Next, and complete a few more easy steps until the installation completes.

The final step after you’ve installed ADT and restarted Eclipse, is to set the location of the Android SDK directory. Select Window->Preferences…, select  Android and click on Browse to set the location of your Android SDK directory (android-sdk-linux), then click on Apply and you should see a list of Android SDK targets.

Click on OK. That’s it, you’ve now installed and configured the Android SDK and Eclipse in Ubuntu, and are ready to get started with App development.

  1. July 14th, 2012 at 20:48 | #1

    LOL, wonder what you are doing / planning to do with this πŸ˜‰

    If you succeed I want the ” instal file” as well πŸ˜€

  2. July 14th, 2012 at 21:28 | #2

    @ j1nx
    The build is still in progress, but I found a file that may interest you πŸ™‚ – http://www.cnx-software.com/2012/07/14/xbmc-for-android-on-the-mele-a1000-video/

  3. July 14th, 2012 at 23:19 | #3

    @ cnxsoft
    Thanks for that. Would still love to receive your “release” version πŸ˜‰

  4. July 15th, 2012 at 11:19 | #4

    @ j1nx
    The build is finally complete. This is also a debug version (https://dl.dropbox.com/u/45842273/xbmcapp-debug-armeabi-v7a-unaligned.apk), but strangely I can’t install it, even after uninstalling the previous version.

  5. July 17th, 2012 at 15:46 | #5

    @ cnxsoft
    Sorry, forgot to check back πŸ˜‰

    Will have a look at your build maybe tonight.

  1. March 1st, 2013 at 13:55 | #1