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.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
6 Comments
oldest
newest
j1nx
11 years ago

LOL, wonder what you are doing / planning to do with this 😉

If you succeed I want the ” instal file” as well 😀

j1nx
11 years ago

@ cnxsoft
Thanks for that. Would still love to receive your “release” version 😉

Peter
11 years ago

@ cnxsoft
Sorry, forgot to check back 😉

Will have a look at your build maybe tonight.

Khadas VIM4 SBC