Android Setup Android Development Setup Oracle SE JDK, Eclipse, and Android SDK, ADT, AVD

The steps for setting up an Android development environment are:

  1. Install the Oracle SE JDK.
  2. Install the Eclipse Integrated Development Environment.
  3. Install the Android Software Development kit (SDK) and the Eclipse Android Development Tools (ADT) plugin as described below.
  4. Set up the Android Virtual Devices (AVD) as described below.
ADK/SDK Setup | Virtual Device Setup | Android Application Install
Android SDK/ADT Setup Android SDK and Eclipse ADT Plugin

This method installation uses an existing IDE (Eclipse) to download and install the desired Android packages:

  1. Download the Android SDK Manager from the Android Developers site. Note: Under Other Platforms, I downloaded (, 99,107,847 bytes). I extracted the downloaded file and then moved the resulting "android-windows" folder to the root of my C: drive.

  2. Download and Configure the Eclipse Android Development Tools (ADT) plugin as directed from the Android Developers, paraphrased below:
    1. Inside Eclipse select: "Help", "Install New Software", "Add".
    2. In the Add Repository dialog, enter "ADT Plugin" for the Name and "" for the Location, then select "OK".
    3. In the Available Software dialog, select the checkbox next to Developer Tools and select "Next".
    4. Accept the list of tools to be downloaded and the license agreement. After the installation completes, restart Eclipse.
    5. Once Eclipse restarts, specify location of the Android SDK (c:\android-sdk-windows) to finish the ADT configuration.
    6. In Eclipse open the SDK Manager to begin the process of downloading the rest of the Android SDK files.
    7. In the SDK, the components for the latest Android version are checked (API 17). In addition, check the following items Android SDK Tools and Android SDK Platform-tools under Tools. Also select Goggle USB Driver under Extras. Click the button to install the selected packages.
    8. Next, Install the SDK components for API 10. This includes: SDK Platform, Samples for SDK, Google APIs, and Intel Atom x86 System Image.
    9. After the install completes, you may wish to add the \tools and \platform-tools directories to the PATH environment variable.
    10. To verify the installation, enter and run the First Android Program.

Android Virtual Device Setup Eclipse ADT Android Emulator

Android programs can be tested on desktop computers with Android emulators know as Android Virtual Devices (AVD). To set up an AVD in Eclipse:

  1. Open the Android Virtual Device Manager by selecting <Window> <Android Virtual Device Manager>.

  2. Select <New> and enter specifications. I set up two AVDs with these specifications:
Settings for Android Virtual Devices
Settings API 10 API 16
AVD Name AVD_2.3.3 Android_Vanilla4.0
Device 5.4" FWVGA(480 x 854: mdpi)  
Target Android 2.3.3 - API Level 10 Google APIs(Google Inc) - API Level 16
CPU/ABI ARM (armeabi) ARM (armeabi-v7a)
Memory Options RAM 512; VM Heap 16 RAM 512; VM Heap 48
Internal Storage 200 MiB  
SD Card 64 MiB 1024 MiB
Skin   WVGA800

Android Application Install Install Android Application on Physical Device

To install and run app on a real device:

  1. Turn on Android device.

  2. Connect the Android device to the development computer using a USB Cable.

  3. Enable USB debugging on Android device.
    • Note: On Android 4.0 and newer USB debugging is under Settings -> Developer Options.
    • Note2: On Android 4.2 and newer, Developer Options is hidden by default. To make it available, go to Settings -> About and tap the Build Number seven times. Return to previous screen to now find the Developer Options.

  4. In Eclipse, select the project and make sure none of the Android simulators (AVDs) are selected.

  5. From the tool bar, select Run -> Run as -> Android Device -> OK. Eclipse should install the application to the Android device and start the app.

Top | ADK/SDK Setup | Virtual Device Setup | Android Application Install