The main content is as follows:
1) establish the environment
1.1 JDK Installation
1.2 install eclipse
1.3 Android SDK Installation
1.4 ADT Installation
1.5 create AVD
2) helloworld instance Program
1)Environment Construction
1.1,JDKInstallation and configuration
JDK download http://www.oracle.com/technetwork/java/javase/downloads/index.html,
Install JDK
Step 1: click "accept"
Step 2: select the JDK installation path:
Step 3: select the Virtual Machine installation path:
Step 4: click "Next" to complete the installation.
ConfigurationJDK
Step 1,
Step 2,
Step 3,
Step 4,
Step 5: variable name: java_home; variable value: JDK installation path (for example, C:/program files/Java/jdk1.6.0 _ 03)
Step 6,
Step 7: at the end of the variable value text box
Add the string "; % java_home %/bin"
Step 8,
Step 9: variable name: classpath variable value: JDK installation path/bin/tools. jar; JDK installation path/bin/dt. Jar
(For example, "C:/Program
Files/Java/jdk1.6.0 _ 03/bin/tools. jar; C:/Program
Files/Java/jdk1.6.0 _ 03/bin/BT. Jar ")
Click Next
Description of related parameters:
1. Project name: name of the folder containing the project
2. package name: the package name follows the Java specification. It is important to use the package name to distinguish different classes. Activity name: this is the main class name of the project, this class will be a subclass of the android activity class. An activity class is a simple class for starting and controlling programs. It can create an interface as needed, but not required.
3. Application name: An easy-to-read title is on your application (I have not figured out what is going on, but I still use it well if I have not entered it ).
Now JDK is complete.