Sunday, May 11, 2014

How to install Android SDK in Eclipse?


  1. Install the Java Development Kit (for example, install JDK 6.0 for use with Android 2.1 or above; JDK 5.0 is the minimum version needed for any earlier ver- sion of Android).
  2. Install Eclipse Classic (for example, version 3.5.2). In the case of Windows, this just needs to be unzipped in place and is ready to use.
  3. Install the Android SDK starter package (for example, version r06). In the case of Windows, this just needs to be unzipped in place and is ready to use.
  4. Start Eclipse and select Help Install New Software..., and then type https:// dl-ssl.google.com/android/eclipse/ and install the Android DDMS and Android Development Tools.
  5. In Eclipse, select Window Preferences... (on a Mac, select Eclipse Prefer- ences) and select Android. Browse to the location where the SDK was unzipped and apply.
  6. In Eclipse, select Window Android SDK and AVD Manager Available Packages, and then choose the necessary APIs to install (for example, Documenta- tion for Android SDK,API 8; SDK Platform Android 2.2,API 8; Google APIs by Google Inc.; and Android API 8).
  7. From the same Android SDK and AVD Manager menu, create an Android virtual device to run the emulator or install USB drivers to run applications on a plugged- in phone.
  8. InEclipse,selectRunRunConfigurations...andcreateanewrunconfiguration to be used with each Android application (or similar for a Debug Configuration). Android JUnit tests can be configured here, too. 

1 comment:

  1. Wow what a great blog, i really enjoyed reading this, good luck in your work. Hoarding Cleanup Springfield

    ReplyDelete