Monday, September 3, 2012

Configuring Eclipse for Android Development

Before you start developing in  android,you need to setup the environment for Android Development.
You will need an IDE(Integrated Development Environment) to start . Eclipse is considered as one of the best IDE for android development. If you have not installed the eclipse , install it .
If you need to download Eclipse download it from   http://www.eclipse.org/downloads/


Installing the Eclipse Plugin



Once you downloaded and installed Eclipse, you need to install eclipse plugin.


Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT). This plugin is designed to give you a powerful, integrated environment in which to develop Android apps. It extends the capabilities of Eclipse to let you quickly set up new Android projects, build an app UI, debug your app, and export signed (or unsigned) app packages (APKs) for distribution.

How to install Eclipse plugin



1: Open the Eclipse
2. select Help > Install New Software.
3. Click Add, in the top-right corner
4. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:

https://dl-ssl.google.com/android/eclipse/
see image 



Click OK.


In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.


If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.


Once the plugin is installed you will see some additional buttons below the menu bar. see image

Configure the ADT Plugin


After you've installed ADT and restarted Eclipse, you must specify the location of your Android SDK directory:
  1. Select Window > Preferences... to open the Preferences panel (on Mac OS X, select Eclipse > Preferences).
  2. Select Android from the left panel.
  3. You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and clickProceed.
  4. For the SDK Location in the main panel, click Browse... and locate your downloaded Android SDK directory (such as android-sdk-windows).
  5. Click Apply, then OK.
If you haven't encountered any errors, you're done setting up ADT and can continue to the next step of the SDK installation.
Now eclipse is ready for android development.
Click on file -> new -> android project  and start developing.
Creating first application in android see  Creating First Application in Eclipse

                                        "All the Best"

you can see here for more explanation.

6 comments:

  1. Replies
    1. Eclipse in an Open Source Integrated Development Environment and used to develop applications in Java and many other languages. For More Information visit
      http://en.wikipedia.org/wiki/Eclipse_IDE

      Delete
    2. sir realy u r doing marvlous work

      Delete
    3. yes absolutely................

      Delete
  2. This post is much helpful for us. This is really very massive value to all the readers and it will be the only reason for the post to get popular with great authority.
    Android online training .

    ReplyDelete