1.1. Install the JDK & Eclipse Android Development Kit
Jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html
If you do not want to download and install the other old JDK, pull down to the end of the face and click Download
ADT Toolkit: http://developer.android.com/sdk/index.html
Note: If the Web page fails to open, access by proxy is available.
Use or install directly after decompression.
1.2 Configuring environment variables
Environment variables:
My Computer > Properties > Advanced System Configuration > Environment variables, the path variable plus the JDK installation path, and the Platform-tools and tools directory of the Android SDK.
Such as:
C:\Program Files\java\jdk1.7.0_03\bin;%androidsdk%\tools;%androidsdk%\platform-tools;
Test: Java, Javac, Android, ADB, emulator and other commands can be used directly,
Check Eclipse the android SDK path configuration: window>preferences
1.3. Create your first Android project
L file>new>android Application Project, fill in the basic information and go all the way next to finish.
L start the simulator, or use the real machine
L add several buttons to start the project: Project right >run as Android application
The ADB command uses
ADB uninstall<package name> Uninstall program: ADB uninstall Com.example.test1
ADB Install <filename> installation program: adb install test1.apk
ADB Shell am Start <packagename/.mainclass> Start Program:
ADB shell am start com.example.test1/. Mainactivity
Other program reference commands help document, or search engine
Android Development Environment Building