First, build the Android development environment
Recently, to learn the basics of Android development, we started to build the Android development environment under Windows.
Find some relevant blog post reference, basically are to download and install the JDK separately, Eclipse, ANDROIDSDK, ADT
Later found Android SDK download official address, provide an ADT bundle download.
This ADT Bundle already contains ANDROIDSDK, ADT, and a well-configured eclipse.
Therefore, it only takes two steps to build an Android development environment:
1. Download the JDK and install it,
Official address http://www.oracle.com/technetwork/java/javase/downloads/index.html,
The current JDK version is Java Platform (JDK) 8u5, which can be installed after download.
2. Download ADT Bundle,
Official address http://developer.android.com/sdk/index.html,
I downloaded the adt-bundle-windows-x86_64-20140321.zip and unzipped.
Second, create a HelloWorld application
Once the above two steps are complete, you can start creating an Android app by running Eclipse/eclipse.exe in the subfolder.
To create the first Android "Hello World" application step,
You can see the official Help document Http://developer.android.com/training/basics/firstapp/creating-project.html#Eclipse
Simply put, in Eclipse's new menu, create a new project, select Android Application project,
Then follow the wizard until finish, creating an Android application Project.
Third, run the new Android application
Connect your Android phone via USB to the computer where the development environment is located (the system settings for your phone, to allow USB debugging).
Then click the Run button in Eclipse and choose to run as Android application
Eclipse compiles the code and installs the successful app to the phone's Android system,
The phone screen will appear with a window that says "Hello world".
At this point, the process of building an Android development environment and creating a "Hello World" app has been completed.