This blog will show you how to set up the Android SDK on Windows 7 / Vista.
Here's an overview of the steps you must follow to set up the Android SDK:
refer to the link http://developer.android.com/sdk/requirements.html for the system and software requirements for developing Android applications using the Android SDK.
The SDK starter package is not a full development environment—it includes only the core SDK Tools, which you can use to download the rest of the SDK components (such as the latest Android platform).
If you haven't already, get the latest version of the SDK starter package from the link http://dl.google.com/android/installer_r13-windows.exe.
While finishing the installation,make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.
Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT), that is designed to give you a powerful, integrated environment in which to build Android applications. It extends the capabilites of Eclipse to let you quickly set up new Android projects, create an application UI, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application. In general, developing in Eclipse with ADT is a highly recommended approach and is the fastest way to get started with Android.
Follow the steps below to download the ADT plugin and install it in your Eclipse environment.Resources.
Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
After you've successfully downloaded the ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory:
You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and click Proceed. You cannot continue with this procedure until you click Proceed.
The last step in setting up your SDK is using the Android SDK and AVD Manager (a tool included in the SDK starter package) to download essential SDK components into your development environment.
You can launch the Android SDK and AVD Manager in one of the following ways:
SDK Manager.exefile at the root of the Android SDK directory.
To download components, use the graphical UI of the Android SDK and AVD Manager to browse the SDK repository and select new or updated components. The Android SDK and AVD Manager installs the selected components in your SDK environment.
Eclipse IDE http://www.eclipse.org/downloads/
Android SDK http://developer.android.com/sdk/installing.html[@more@]
来自 “ ITPUB博客 ” ，链接：http://blog.itpub.net/13651903/viewspace-1055545/，如需转载，请注明出处，否则将追究法律责任。