I am willing to share my self-taught Android experience with you! Author: I love aoman
1. Build an android Environment
Currently, Android is basically developed based on the Java environment. Therefore, to facilitate development, we must first build a Java environment.
(1) download, install and configure JDK
JDK: http://www.java.net/download/jdk6/6u10/promoted/b32/binaries/jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe (1.6 here)
The jdk api help documentation address is attached here: http://download.java.net/jdk/jdk-api-localizations/jdk-api-zh-cn/publish/1.6.0/chm/JDK_API_1_6_zh_CN.CHM
Then configure the JDK.
Step: My computer-> properties-> advanced system settings-> Environment Variables
1) create a java_home variable in the system variable. The variable value is c: \ Program Files \ Java \ jdk1.6.0 _ 14 (set it according to your installation path)
2) create a classpath variable with the variable value:.; % java_home % \ Lib \ tools. Jar
3) Add the variable value % java_home % \ bin; % java_home % \ JRE \ bin in the PATH variable (no need to create a new variable) (note that the variable values are separated)
Java_home: JDK installation path
(2) download and install eclipse
: Http://www.eclipse.org/downloads/
(3) download and install the SDK
: Http://developer.android.com/sdk/index.html (the installation file of the SDK is downloaded at this time not all the files of the SDK)
After downloading and decompressing the package, open SDK manager.exe to select the desired SDK file (only 4.0.3 API is easy to use and remains unsolved ).
(4) ADT Installation
Step: Open eclipse-> help-> install new software-> Add (name can be started at Will)-> location address: https://dl-ssl.google.com/android/eclipse/after finding the resource, you can install nextdirectly.
(5) The last step is the creation of the ADV simulator.
Open eclipse and you will find two more icons in the toolbar (open the next open Android Virtual Device Manager)-> New (the name is random. Select the desired version for target, SD card256mb) -> Create AVD to build the android environment.
I hope you can give me some advice!
(Click here to read the original article)