Installing the Android* SDK for Intel® Architecture

Objective

This whitepaper describes the process of installing the SDK and setting up the development environments for developing applications running on Intel® Archictecture-based Android* devices.

Introduction to the Android* SDK

The SDK includes tools and platform components for developers to build, test, and debug their Android* applications, and manage the Android* platform component installation. The SDK also provides easy ways to integrate with the build and development environments, for examples, with Eclipse* or Apache Ant*.

System Requirements

This section describes the hardware and software environments required by the Android* SDK.

Supported Operating Systems

  • Windows XP* (32-bit), Vista* (32- or 64-bit), or Windows 7* (32- or 64-bit)
  • Linux* (Ubuntu, Fedora)
    • GNU C Library (glibc) 2.7 or later is required.
    • On Ubuntu Linux, version 8.04 or later is required.
    • On Fedora, target versions are F-12 and higher.
    • 64-bit distributions must be capable of running 32-bit applications.


Hardware requirements

The Android* SDK requires disk storage for all of the components that you choose to install. Additional disk space is required to run the emulator, for example, to create SD cards for the Android* Virtual Devices (AVDs).

Installing the JDK

Java* JDK 5 or JDK 6 is required by the SDK. JRE (Java* Runtime Environment) alone is not sufficient. If your system does not have JDK 5 or JDK 6 installed, you can download JDK SE 6 from http://www.oracle.com/technetwork/java/javase/downloads/index.html and install it on your system.

Installing Eclipse*

Using the SDK with Eclipse* to develop Android* applications is highly recommended. You can go to http://www.eclipse.org/downloads/ to download or update Eclipse*. We suggest using the following Eclipse* setups to develop Android* Applications for Intel Architecture:

  • Eclipse* 3.5 (Galileo) or greater
  • Eclipse* Classic (versions 3.5.1 and higher)
  • Android* Development Tools Plugin (recommended)

Installing Apache Ant (Optional)

Developing Android* applications using an integrated development environment such as Eclipse* is highly recommended. But as an alternative, Apache Ant* can be used to work with the SDK to build Android* applications. You can visit http://ant.apache.org/ to download the binary distributions and install Ant. To work with the SDK, Ant 1.8 or later is required.

Downloading the SDK Starter Package and Adding the SDK Components

You can download the SDK Starter Package at http://developer.android.com/sdk/index.html. The SDK Starter Package does not include the platform specific components you need to develop Android* applications. It only provides the core SDK tools for you to download the rest of the platform components.

After installing the SDK Starter Package, run Android* SDK and AVD Manager.

  • On Windows*, select Start > All Programs > Android* SDK Tools > SDK Manager
  • On Linux*, run your-android-sdk-directory/tools/android

On the Android* SDK and AVD Manager dialog, on the left panel, select “Available packages”, on the right panel, click and expand the “Android Repository” node and select the packages to install.

Setting Up Eclipse* to Work with the SDK

If you use the Eclipse* IDE to develop software, we highly recommend you install and set up the Android* Development Tool (ADT) Plugin.

Installing the ADT Plugin for Eclipse*

1. Start Eclipse*, select Help > Install New Software…, on the Install dialog, click the Add button.
2. On the Add Repository dialog, enter “ADT Plugin” in the Name field, and enter “https://dl-ssl.google.com/android/eclipse/” in the Location fields then click OK.



3. It will go back to the Install dialog, and connect to the Google repository server, and display the available ADT packages:



4. select Next, accept the license agreement, and select Finish.
5. Restart Eclipse* at this point.

Configuring the ADT Plugin

1. Start Eclipse*, select Windows > Preferences
2. On the Preference dialog, select Android* from the left panel. On the right panel, use the Browse button to navigate to your Android* SDK installation directory, click Apply, a list of SDK Targets you have installed will show up. At this point, click OK.

Summary

After going through the steps described above, you have the necessary tools available to start Android* for Intel Architecture development. If you are new to Android*, now it is a good time to go ahead to write your first Android* app and test it on an IA-based device!

1http://ant.apache.org/manual/

Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.