INSTALLING SOFTWARE FOR ANDROID USING ECLIPSE IDE MANUALLY

Installing Software for Android by using Eclipse IDE manually

            ·         For this we have to follow the following steps.

1.      Install the JDK
2.      Download and install the Eclipse for developing android application
3.      Download and Install the android SDK
4.      Install the ADT plugin for eclipse
5.      Configure the ADT plugin
6.      Create the AVD
7.      Create the hello android application

1.     Install the JDK

      ·         For creating android application, JDK must be installed if you are developing the              android application with Java language.

            2.      Download and install the Eclipse for developing android application

                  ·         For developing the android application using eclipse IDE, you need to install the                         Eclipse.
                  ·         You can download it from this location download the Eclipse.
                  ·         Eclipse classic version is recommended but we are using the Eclipse IDE for Java EE                   Developers (Eclipse Helios).

           3.      Download and Install the android SDK

·         First of all, download the android SDK.
·         In this example we have installed the android SDK for windows (.exe version).
·         Now double click on the exe file, it will be installed.

     4.   Install the ADT plugin for eclipse

·         ADT (Android Development Tools) is required for developing the android application in the eclipse IDE.
·         It is the plugin for Eclipse IDE that is designed to provide the integrated environment.

For downloading the ADT, you need to follow these steps:

1.      Start the eclipse IDE, then select Help > Install new software...
2.   In the work with combo box, write https://dl-ssl.google.com/android/eclipse/ 


3.   select the checkbox next to Developer Tools and click next
4.      you will see, a list of tools to be downloaded here, click next
5.      click finish
6.   After completing the installation, restart the eclipse IDE

   5.   Configure the ADT plugin

·         After the installing ADT plugin, now tell the eclipse IDE for your android SDK location. For this:

1.      Select the Window menu > preferences
2.      Now select the android from the left panel. Here you may see a dialog box asking if you want to send the statistics to the Google. Click proceed.
3.      Click on the browse button and locate your SDK directory e.g. my SDK location is C:\Program Files\Android\android-sdk.
4.      Click the apply button then OK.

    6.    Create the AVD

·         For running the android application in the Android Emulator, you need to create and AVD. For creating the AVD:
1.      Select the Window menu > AVD Manager
2.      Click on the new button, to create the AVD
3.      Now a dialog appears, write the AVD name e.g. myavd. Now choose the target android version e.g. android2.2.
4.      Click the create AVD

   7.    Create the hello android application

·         Create the application and run the application