Friday, March 25, 2011

Android Installation and SDK configuration with Eclipse Galileo

Hi Readers,

I have installed android and configured in eclipse. I dont know anything in android, But i tried to install with one of my friend. Finally i run the program. I would like to share this procedure to all, It may helpful to you,

Downloading the ADT PluginUse Update Manager feature of your Eclipse installation to install the latest revision of ADT on your development computer.
Assuming that you have a compatible version of the Eclipse IDE installed, as described in Preparing for Installation, above, follow these steps to download the ADT plugin and install it in your Eclipse environment.

1. Start Eclipse, then select Help > Install New Software....
2. Click Add, in the top-right corner.
3. 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/
Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
Click OK.
4. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
5. In the next window, you'll see a list of the tools to be downloaded. Click Next.
6. Read and accept the license agreements, then click Finish.
7. When the installation completes, restart Eclipse.
Updating the ADT Plugin
From time to time, a new revision of the ADT Plugin becomes available, with new features and bug fixes. Generally, when a new revision of ADT is available, you should update to it as soon as convenient.
In some cases, a new revision of ADT will have a dependency on a specific revision of the Android SDK Tools. If such dependencies exist, you will need to update the SDK Tools component of the SDK after installing the new revision of ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as described in Adding SDK Components.
To learn about new features of each ADT revision and also any dependencies on the SDK Tools, see the listings in the Revisions section. To determine the version currently installed, open the Eclipse Installed Software window using Help > Software Updates and refer to the version listed for "Android Development Tools".
Follow the steps below to check whether an update is available and, if so, to install it.
Eclipse 3.5 (Galileo) and 3.6 (Helios)
1. Select Help > Check for Updates.
If there are no updates available, a dialog will say so and you're done.
2. If there are updates available, select Android DDMS, Android Development Tools, and Android Hierarchy Viewer, then click Next.
3. In the Update Details dialog, click Next.
4. Read and accept the license agreement and then click Finish. This will download and install the latest version of Android DDMS and Android Development Tools.
5. Restart Eclipse.

Installation:1. Install Java (JDK)
2. Download the eclipse galileo and run in your machine.
3. Download the SDK from http://developer.android.com/sdk/index.html
4.Run the eclipse by clicking eclipse icon
5.Go to this url http://developer.android.com/sdk/eclipse-adt.html. Read the steps Eclipse 3.5 (Galileo).
6. You can confirm SDK is installed or not. Go to windows. You can Android SDK and AVD manager.Then click in this menu list.
7.You can see available package at left side, Just select it. The you can see one check box in right side. Just check it. After checking,you can see multiple package list, In that choose onle android 2.2 package.
8. Refresh it.
9. Go to Available package in left side. There you can confirm package is installed with SDK platform android 2,2 list.
10. Go to virtual device and give AVD name and target….
Setup is completed….
creating the Android first program:
1.File->new->others->android->android project
2.Fill the form with required input. Note:package name should be com.projectname.
3.In left side,right click the application and click run as -> android project.
4. You will get the output with android screen format.
Useful links while doing android setup…
http://whyandroid.com/android/216-how-to-install-the-android-sdk-on-windows-xp.html
http://developer.android.com/sdk/index.html
http://developer.android.com/sdk/eclipse-adt.html

No comments:

Post a Comment