Android SDK + eclipse + ADT configuration and development
Keywords: Android SDK eclipse ADT
Android ADT plug-in configuration
Create AVD (Android virtual device)
In development of Android SDK 1.5 and later versions, at least one AVD must be created. Each AVD simulates a virtual device to run the Android platform. This platform must have at least its own kernel, system images and data partitioning, as well as its own SD card and user data and visual display.
1). Start Menu-run-cmd. The console is displayed. Enter Android list targets.
2) create AVD according to Android create AVD -- name <your_avd_name> -- target <targetid>
3). Specify an AVD in the run deployments in eclipse.
Android SDK Configuration
Add X:/XXX/android-sdk-windows-1.5_r3/tools under the path where the SDK is stored to the environment variable.
Android plugin ---- ADT Configuration
1. The installation steps are as follows:
1. Online Installation
1) Open eclipse, help-> install new software...-> select Add after work ....
2) In the name option input Android Plugin in location enter http://dl-ssl.google.com/Android/eclipse/, click OK, and then select the option in name below.
2. Offline Installation
1) Open eclipse, help-> install new software...-> select Add after work ....
2) Enter Android Plugin in the local option, find the compressed package of adt0.9.1 in archive, click OK, and then select the option in name in the following.
Ii. test whether the installation is successful:
1) after installing the ADT plug-in, close eclipse and restart.
2 ). open File-> New to check whether the android project option is available. Do not worry before clicking other... check whether the general option has the android option. If yes, the installation is successful. If no, the installation fails.
After installing the plug-in, you need to make some simple configuration:
1. In eclipse, select Window> preference;
2. Select the android item from the menu on the left;
3. Set the SDK location and Click Browse to select the SDK installation root directory;
4. OK, complete.
Iii. Connection:
1). Eclipse Galileo version ide download: http://www.eclipse.org/downloads/
22.16.adt-0.9.1.zip download: http://dl-ssl.google.com/android/ADT-0.9.1.zip
3). Android sdk1.5 download: http://developer.android.com/intl/zh-CN/sdk/1.5_r2/index.html