1. Build an Android Development Environment
To learn more about Android development, we will start to build an Android development environment in Windows.
I have found some relevant blog posts for reference. Basically, we need to download and install JDK, Eclipse, AndroidSDK, and ADT respectively.
Later, we found the official Android sdk download address, which provides an ADT Bundle for download.
This ADT Bundle already contains the AndroidSDK, ADT, and a configured Eclipse.
Therefore, building an Android development environment requires only two steps:
1. Download and install JDK,
Http://www.oracle.com/technetwork/java/javase/downloads/index.html official address,
The latest JDK version is Java Platform (JDK) 8u5. Download and install it.
2. Download ADT Bundle,
Http://developer.android.com/sdk/index.html official address,
I downloaded the adt-bundle-windows-x86_64-20140321.zip file and decompress it.
2. Create a HelloWorld Application
After the preceding steps are completed, run eclipse/Eclipse.exe in the sub-folder to create an Android Application.
To create the first Android "Hello World" Application,
Can see the official help document http://developer.android.com/training/basics/firstapp/creating-project.html#Eclipse
Simply put, create a project in the new menu of Eclipse, select Android Application Project,
Then follow the Wizard to continue the Next step until Finish, so that an Android Application Project is created.
3. Run the newly created Android Application
Connect your Android phone to the computer where the development environment is located through USB (allow USB debugging in the mobile phone system settings ).
Then, click the Run button in Eclipse and choose to Run as an Android Application,
Eclipse will compile the code and install the compiled application on the Android system of the mobile phone,
A window is displayed on the mobile phone screen, showing "Hello World ".
So far, the process of building an android development environment and creating a "Hello World" application has been completed.