I. installation and configuration of the android Environment
1. First install Java JDK,
For Java Development, you must first install JDK. After JDK is installed, you must configure environment variables:
(1) download JDK (Http://java.sun.com/javase/downloads/index.jsp), The version I downloaded is: jdk-6u14-windows-i586.exe
(22.161_install jdk-6u14-windows-i586.exe
(3) Configure environment variables: Right-click "my computer" --> "advanced" --> "environment variables"
1) Create in System VariablesJava_homeVariable; Value: C: \ Program Files \ Java \ jdk1.6.0 _ 14 (based on your own installation path)
2) createClasspathVariable; Value:.; % java_home % \ Lib \ tools. Jar
3) InPathAdd variable values: % java_home % \ bin; % java_home % \ JRE \ bin (note that variable values are separated)
4) "start" --> "run" --> enter "javac" --> "enter". If the command is printed properly, the configuration is successful!
Analysis of supplemental environment variables:
Java_home: JDK installation path
Classpath: Java loads the class path. Only the class can be identified by the Java command in classpath. A "." is added before the path to indicate the current path.
Path: The system can recognize Java and javac commands in any path. Reference blog authorNiklas_f attention fieldThisArticleJDK installation and environment variable configuration.
2. Download and install ADT
Download the latest ADT bundle from the official Android website. It integrates eclipse + ADT plugin, Android SDK tools, Android platform-tools, and so on, simplifying the configuration, you no longer need to configure the android development environment as you used.
Android SDK (ADT bundle for Windows:ADT for Windows. Of course, the Linux and Mac versions of other platforms are also provided here.
Ii. Use of Eclipse IDE in Android Development
1,Change the default path for Android Development
Open the eclipse development tool, select the File menu in eclipse --> swith workplace --> other, and click it to enter the path of your current project,
Click the Browse button to select a new job path.SpaceWorkspace.
This is for mobileSource codePATH is very practical.
3. Android Development Website
1, the first Android official website, can refer to the android API, here there are various topics of Android development, address: http://developer.android.com/guide/components/index.html
2. Several Chinese websites:
EOE androidCommunity: Http://www.eoeandroid.com/forum.php
Http://android.eoe.cn/
Android bus Portal: http://www.apkbus.com/