Development Environment Requirements |
Version 1.6 and above. This example uses JDK 1.6.
Eclipse needs requires Java Runtime Environment (JRE), included in the JDK (Java Development Kit). Android SDK relies on JDK, so you need to prepare JDK firstly.
If you use a non-install JDK, you need to create a new variable JAVA_HOME in the system context variable, set its value as the directory of JDK, and add the value "%JAVA_HOME%\bin" and "%JAVA_HOME%\lib" in the system context variable "Path".
Version 3.6.2 and above. This example uses eclipse 3.6.2.
Eclipse is common Java IDE (Integrated Development Environment). We will use Eclipse as Java IDE in the example.
Version 2.0 and above. This example uses Version 2.2.
Android SDK provides a series of API libraries and programming tools, which are used to construct, test and debug applications.
If you use a non-install Android SDK, you need to unzip it and then use an environment variable to create a new variable "%ANDROID_SDK_HOME%" whose value is the root directory of Android SDK. You run "SDK Manager.exe" under the root directory to download platforms and packages required by the Android platform.
Version 10.0 and above. This example uses Version 10.0.
ADT (Adroid Development Tools for Eclipse) is a required plugin for Android development based on Eclipse IDE, providing IDE (Integrated Development Environment) for constructing Android applications.
Open Eclipese, and then click "Help" > "Eclipse Marketplace..." to search and install Android Development Tools for Eclipse.