MY mENU


Friday, 10 February 2012

Android Installation Steps

Downloading Android Starter package :
 download the Android Starter package. You can get the latest version of the SDK starter package from the Link - http://developer.android.com/sdk/index.html
-After downloading, unpack the Android SDK archive.
-Make a note of the name and location of the unpacked SDK directory on your system
-you will need to refer to the SDK directory later, when setting up the ADT plugin or when using the
SDK tools.
- On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ directory to the path. 


2. Installing the ADT plug-in  
ADT has been created for Android to ease the development of applications using an integrated system for development, compiling and signing and transferring to an android device.  It helps us quickly integrate java code with Android API and create applications with it. ADT installation as described in the steps below.
1. Start Eclipse, then select Help > Install New Software.
2. In the Available Software dialog, click Add....
3. In the Add Site dialog that appears, enter a name for the remote
site (for example, "Android Plugin") in the "Name" field.
In the "Location" field, enter this URL: https://dl-ssl.google.com/android/eclipse/ .If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons. Click OK. 
4. Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.
5. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
6. Restart Eclipse.

3. Configuring the ADT Plugin 
              Once you've downloaded ADT the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory:
1. Select Window > Preferences... to open the Preferences panel
(Mac OS X: Eclipse > Preferences).
2. Select Android from the left panel.
3. For the SDK Location in the main panel, click Browse... and
locate your downloaded SDK directory.
4. Click Apply, then OK. Adding Android platform.
The last step is to use AVD manager to install various components
into you development environment.
5. Launching from Eclipse/ADT
If you are developing in Eclipse and have already installed the ADT Plugin, follow these steps to access the Android SDK and AVD Manager tool:
1. Open Eclipse
2. Select Window > Android SDK and AVD Manager.
3. Select Available Packages in the left panel. This will reveal all of the components that are currently available for download from the SDK repository.

4. Select the component(s) you'd like to install and click Install Selected.
5. Verify and accept the components you want and click Install Accepted. The components will now be installed into your existing Android SDK directories.
New platforms are automatically saved into the <sdk>/platforms/ directory of your SDK; new add-ons are saved in the <sdk>/add-ons/ directory; samples are saved in the <sdk>/samples/android-<level>/;
and new documentation is saved in the existing <sdk>/docs/ directory (old docs are replaced).

No comments:

Post a Comment