Tuesday 7 February 2012

Android step by step installation









Step 1:Preparing Your Development Computer
  • First You need to install JDK (Java Development Kit) in your computer.
  • You should check your hardware configuration as given check here
  • If you need eclipse then you can download it from here
    http://www.eclipse.org/

  • The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

    Step 2:Downloading SDK starter package.




    Step 3. Installing the ADT Plugin for Eclipse
    • Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT), that is designed to give you a powerful, integrated environment in which to build Android applications.
    • For that you need to download ADT plugins
    • http://dl.google.com/android/ADT-16.0.1.zip
    • For step-by-step installation instructions, then return here to continue the last step in setting up your Android SDK.
    • If you prefer to work in a otherIDE, you do not need to install Eclipse or ADT. But i personally suggest you to use Eclipse. (Eclipse Indigo
    • The Introduction to Android application development outlines the major steps that you need to complete when developing in Eclipse or other IDEs.
     
    Step 4. Adding Platforms and Other Components

     
    • The last step in setting up your SDK is using the Android SDK and AVD Manager (a tool included in the SDK starter package) to download essential SDK components into your development environment.
    • The SDK uses a modular structure that separates the major parts of the SDK Android platform versions, add-ons, tools, samples, and documentation into a set of separately installable components. 
    • The SDK starter package, which you've already downloaded, includes only a single component: the latest version of the SDK Tools. To develop an Android application, you also need to download at least one Android platform and the associated platform tools. You can add other components and platforms as well, which is highly recommended.
    • If you used the Windows installer, when you complete the installation wizard, it will launch the Android SDK and AVD Manager with a default set of platforms and other components selected for you to install.
    • Simply click Install to accept the recommended set of components and install them. You can then skip to Step 5, but we recommend you first read the section about the Available Components to better understand the components available from the Android SDK and AVD Manager.
    • You can launch the Android SDK and AVD Manager in one of the following ways:
      • From within Eclipse, select Window > Android SDK and AVD Manager.
      • On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory.
      • On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute.
    • To download components, use the graphical UI of the Android SDK and AVD Manager to browse the SDK repository and select new or updated components (see figure 1). The Android SDK and AVD Manager installs the selected components in your SDK environment. For information about which components you should download, see Recommended Components. 
    •  




    Step 5. Exploring the SDK (Optional)
    • Once you've installed the SDK and downloaded the platforms, documentation, and add-ons that you need, we suggest that you open the SDK directory and take a look at what's inside