Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap (Ubuntu 10.10) - Page 2

4 Integrating The Android SDK Into Eclipse

If you want to use Eclipse to create your Android apps instead of the command line, you need to integrate the Android SDK into Eclipse. To do this, start Eclipse (Applications > Programming > Eclipse):

Click on OK if you see the Workspace Launcher window (you can check the Use this as the default and do not ask again checkbox to not see this message anymore):

Now in Eclipse, go to Help > Install New Software...:

The Available Software window opens. Click on the Add... button:

A small Add Site window opens. Fill in the following values and click on OK:

  • Name: ADT Plugin
  • Location:

Back in the Available Software window, you should now see the software Developer Tools. Select that software and click on Next >:

In the next window, click on Next > again:

Now accept the license agreements and click on Finish:

The packages needed to integrate the Android SDK into Eclipse are now being downloaded and installed:

If you see the following message about unsigned content, it's ok to click on the OK button:

At the end of the installation, Eclipse needs to be restarted. To do this, click on Yes:

Now there's one final step to complete the Android SDK integration in Eclipse: Go to Window > Preferences:

In the Preferences window, select Android in the left panel, and then click on the Browse... button that belongs to the SDK Location field in the right panel:

Select the directory where the Android SDK is located (it's android-sdk-linux_86 in your home directory) and click on OK:

Back in the Preferences window, click on Apply (you should then see the supported Android versions in the Target Name column)...

... and then on OK:

Share this page:

8 Comment(s)

Add comment


From: Android App Developers at: 2012-05-23 13:52:00

Everything in an app.

Majority of applications developed in 1 or more than two android features. But if we will apply more than 3 to 4 features then what we will expect  from that app if idea we have unique and superb  too.????

From: Phonegap android developers at: 2014-07-16 10:00:30

In terms of app experience, native apps can do more. They can easily get hold of swipe events, mutlitouch even, for those platforms which support it. They can typically act on hard keys being pressed, like Android's search button and volume controls. They can access hardware too, like GPS and camera. And with the user's permission, some platforms provide unfettered access to the operating system. Just try detecting how much battery remains with HTML5!

From: phonegap android application at: 2014-08-06 07:14:44

Very helpful and clean set of instructions which actually solves a quite complicated process due to the use of application dependencies plus versioning conflicts. I only had one problem with a node directory error. I did also find a solution which is quite simple. Thank you very much for such useful information.

From: little_oak at: 2011-01-25 19:45:30

NICE article.

 I purchased a book about android, but i have finished my search for best desktop with full suit for android.

 I using ubuntu 10.10 :D.


From: om at: 2011-02-26 16:20:05

I got a bit lost at the point where you created /tweetme/tweetme and magically had a load of resources with content (around point 7).

After paging through your tutorial again, I worked out that they came from here:

This is implied in point 1 "In fact, I'm using a slightly modified version of the Twitter client described in the link to build a Twitter app in this tutorial."

It would be very helpful if you could explicitly say in point 7 "I'm using an app I built earlier", and you can find the source code here:

But a very useful tutorial nonetheless.


From: Gary at: 2011-03-19 03:20:52

this tutorial help me so much………

but some confusion in getting this to work with the source code you reference as it's using php...

can you please send the source code of this tutorial in some zip folder so that i can run it easily……….

From: Anonymous at: 2011-05-25 00:25:16

I think the source_code.tar.gz in the root dir is the index.php it should be index.html not index.php. I got an error when i execute droidgap create pointing to the index.html but in the source its index.php. Thanks for the greate tutorials. I should start my android apps,  May i ask whats the best ebooks for beginners. 

From: xgenvn at: 2011-06-08 12:32:50

As I aware and have tried, in ubuntu 10.04, I use export PATH but it seems not working. So if anyone meets this problem, please cd to android-sdk-etc-etc/ and use the command ./android, it works like a charm.

Moreover, the size of the emulator window at my first run is a little bit bigger than my resolution, so I've searched around and find solution for this:

Follow  this link:

Or follow my summary which I collect from that article:

- In Eclipse, navigate to window>Android SDK and AVD manager

- In the new opened window, choose the emulator you've used or been using (in this tutorial is mySim), click Edit.

- At Skin option: choose Built-in: HVGA

And finish your setting with clicking Edit AVD.

You may want to run the application again to check the setting out.

It seems an easy job on that, but for the newbie like me it'll save a little of time. Have fun.