Download and configure prerequisite software

  1. Download the JDK from

    The installation process is straightforward. If you already have the JDK installed on your system, you can skip this step, but be aware that your JDK, Eclipse IDE, and OS need to be compatible.

  2. Download the Eclipse IDE for Java Developers from

    After unzipping the package, you can run Eclipse directly. There is no installer.

  3. Download the Android SDK ADT Bundle from

    This bundle includes Eclipse. If you already have Eclipse installed on your system, you can download the SDK Tools for your platform from the Use An Existing IDE section.

    Unpack and install to a location you will remember. You will need to reference this in a later step.

  4. Configure the Android SDK.

    1. Open a terminal (in Mac OS X) or a command prompt (in Windows).

    2. Navigate to the directory where you downloaded/unpacked the Android SDK.

    3. Go to the tools folder, which contains a file named android.

    4. Run the following commands:

      • For Mac OS X/Unix:

        chmod +x android
        android update sdk --no-ui
      • For Windows:

        android update sdk --no-ui

        This process takes a while.

  5. Configure Eclipse.

    1. Start Eclipse.

      On Windows, if Eclipse does not start, and the issue reported is that Eclipse cannot find a required Java file, try the following:

      • add -vm C:\[path to your JDK bin]\javaw.exe to your eclipse.ini file.
    2. Select Help > Install New Software .

    3. Click Add….

    4. Enter Android for the name.

    5. Enter for the Work with link.

    6. Click OK.

      You should see a dialog similar to this:

    7. Select the resulting packages (those in Developer Tools and NDK Plugins) and click Next.

      This downloads the Android Development Tools (ADT).

    8. After the download completes, restart Eclipse.

    The Android SDK is now installed. 1. Configure Eclipse so it can find the Android SDK and use it as a resource.

    1. Open Eclipse.

    2. Select Window > Preferences on Windows; ADT > Preferences on Mac OS X.

    3. Select the Android tab.

    4. Browse to the location of the Android SDK.

    5. Click Apply.

      Step Result

On this page