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.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

6
Leave a Reply

avatar
6 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
How to Run Android Apps in Linux with AndroVMPeterj1nx Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
j1nx
Guest

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

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

j1nx
Guest

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

Peter
Guest

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

Will have a look at your build maybe tonight.

trackback

[…] already a decent option with Bluestacks. If you’re using Linux, you could always install the Android SDK and run the emulator, but I don’t really like this option because of the user interface, and […]