How to install and configure Android SDK with Eclipse on Ubuntu 11.04

Hi, today I'm going to tell you how to install and configure Android Software Development Kit with Eclipse on ubuntu 11.04 environment. These days Android application developing has became major trend. So as application developers we should also consider about new trends. To set up a computer in order to develop Android applications we need 4 things.



  1. Java Development tool Kit (JDK)

  2. Eclipse IDE

  3. Android SDK for Linux(i386)

  4. Android plug-in for Eclipse


Ok now I assume you have downloaded and installed JDK and Eclipse or already have both of them.

Now extract the Android SDK into a safe location, (keep this on your mind, that downloaded Android SDK is not a full development environment. It only contains the core libraries. When configuring it with Eclipse you need to download at least one of the android developing environments.)

Then start Eclipse ,to install the android plug-in for eclipse.

Then go to Help --> Install New Software

Click Available Software Sites as shown on above image.

At the preferences window, click add

At the NAME field give Galileo or some-name , and   at the LOCATION field give this URL if you use Eclipse Galileo version :

http://download.eclipse.org/releases/galileo

If you are using Eclipse Helios, use this URL instead of that.

http://download.eclipse.org/releases/helios

then click OK.

Now move back to the install window

then click Add, in the top-right corner.

Enter ADT_Plugin for the Name and the following URL for the Location field:

http://dl-ssl.google.com/android/eclipse/

OR you can point downloaded ADT-11.0.0.zip file as Archive (you shouldn't extract it)



then, Click OK.

In the Available Software window , check the check-box

In the Available Software dialog, select the checkbox next to Developer Tools and click Next.

In the next window, there will be some tools to be downloaded. Click Next.

Read and accept the license agreements, then click Finish.

Sometimes you may get a security warning like this, click OK

When the installation completes, restart Eclipse.

Now you should add android platforms..

Start Eclipse Window --> Android SDK and AVD Manager.



This process may take some time...!



Then under the Available packages select at least one or all, then click Install Selected.

Then go to windows --> preferences, under it click Android tab and click OK.

Now you are ready to go with Android+Eclipse.

Thanks

Gihan Malan De Silva.

Comments

  1. In my opinion, this article was really very beautiful and fascinating to me because at different Thenks archive admin has been very good

    ReplyDelete
  2. The Good!These Posts Composed too great,they Wealthy contents and data accurately.they are Aid to me.I Anticipate to see your new Reveal!

    ReplyDelete
  3. Freshly installed Eclipse with Android plug in has got no any Android Virtual Devices (AVDs). To run a project you need to create a new one.

    ReplyDelete
  4. I’ve read several good stuff here. Certainly worth bookmarking for revisiting. I surprise how much effort you put to make such a great informative site.

    ReplyDelete
  5. Admirable blog! I'll almost certainly be referencing some of this facts in my next speech. I would appreciate it should you visited my blog at

    ReplyDelete
  6. I never thought of it that way, well put!

    ReplyDelete
  7. my email gihanblog@gmail.com

    ReplyDelete
  8. Wow, I followed everything to the letter and it rescued me. So much respect for people who take the time to post well detailed screen shots of processes that can be VERY daunting! Merci

    ReplyDelete
  9. thanks! this was a helpful guide!

    ReplyDelete
  10. charindu.thiwanka28 December 2011 at 06:38

    This was a very useful post to me. Thanks..good work. :D

    ReplyDelete
  11. Just a question,
    If I have a tablet (Asus transformer) running Ubuntu 11.04, will I be able to install this eclipse and start developing android apps on it, just like i do it on my Windows laptop ?

    ReplyDelete
  12. I think it should be able to do that. But it is not good, why I'm saying like that is even in windows, Android emulator works very slowly. Normally tablets don't have much performance comparing to laptops. So it is good to keep developing things to a powerful computer. It will save your time. :D

    ReplyDelete

Post a Comment

Popular posts from this blog

Joomla 1.7 installation with XAMPP problem solved

Switching to a third party Domain Name System (DNS)?

A shell script for Renaming large number of files in Linux