1. Installing the JDK
I'm installing jdk-6u5-windows-i586-p here.
To configure environment variables:
Java_home:d:\program files\java\jdk1.6.0_05
Path:;%java_home%\bin;%java_home%\jre\bin
CLASSPATH:.; %java_home%lib;%java_home%lib\tools.jar
2. Eclipse
: http://www.eclipse.org/downloads/
3. Download the Android SDK
: http://developer.android.com/sdk/index.html (not the following address: http://developers.androidcn.com/sdk/index.html)
Download SDK Tools only, do not download the ADT bundle because the ADT bundle contains eclipse
Click: SDK Manager.exe Download the corresponding version
If the download process, the following error occurred: Connection to https://dl-ssl.google.com refused or Connection to Http://dl-ssl.google.com refused
How to handle: Add the following three lines at the bottom of the hosts file below C:\Windows\System32\Drivers\etc
203.208.46.146 www.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
4. ADT Installation
Help > Install New software > Add ...
Name: ADT
Path: Http://dl-ssl.google.com/android/eclipse
Check out the 6 options shown.
Set Android SDK path: Window > Preferences ... > Android
Choice: D:\Program files\android-sdk-windows
5. Create AvD
Window > Android Virtual Device Manager > Create ...
After filling in the name and various parameters, the virtual device is ready to complete.
6. Hello World
Reference Link: http://www.cnblogs.com/skynet/archive/2010/04/12/1709892.htmlhttp://huangz.iteye.com/blog/1103590http:// blog.csdn.net/android_tutor/article/details/7425021http://blog.163.com/[email protected]/blog/static/7023477720110158362391/http://blog.csdn.net/x605940745/article/details/17911115
Android Development Environment Deployment