First, build the Android development environment
Getting ready: Download Eclipse, JDK, Android SDK, ADT Plugin
: eclipse:http://www.eclipse.org/downloads/
Android ADT23.0.6 Links: 75453780
Android6.0 SDK Links: http://tools.android-studio.org/
1. Install and configure the Java Development environment:
① install the prepared Eclipse and JDK on this machine (preferably installed in the full English path) and configure the environment variables for the JDK, where the JDK variable value is the root directory of the JDK installation path, as mine is: D:\EOMP\java\jdk1.6.0_31_64wei;
② Open a command prompt (cmd) and enter the Java-version command, indicating that the Java environment variable is already configured.
2. Install ADT Plugin:
① Open the installed Eclipse, select "Help" on the menu bar, click "Install new software ..." in the pop-up drop-down box.
② in the newly opened dialog we can simply enter in "Work with": https://dl-ssl.google.com/android/eclipse/to install the ADT plugin online, but because Google's servers are built abroad, So the installation will be slow in this way, and may appear in the case of poor personality, so it is not recommended to install online.
③ I recommend installing directly from the downloaded ADT Plug-in package (this can be done in an offline environment). The steps are: Click on the "Add" button in the newly opened dialog box and click "Archive" button in the Open dialog box to select the ADT plugin compression package that was saved on the local hard drive, as the "Name" above can be arbitrarily taken, this is just a code name, no practical effect.
④ Click "OK" button in the previous step, we will find that there are two lines in the middle of the check box, click the "Select All" button to select all the checkboxes, this step after the "Next", the need to "accept" to select "Accept", until the end of the click "Finish", This allows the ADT plug-in to be installed. The time required for the entire process depends on the performance of the machine. After installing the ADT plugin, the Eclipse toolbar will appear with a row of Android icons, such as:
You may end up with this, click OK.
⑤ you may be prompted to restart eclipse after the installation is complete, select Yes
After restarting, the following two icons appear, indicating that the ATD plugin was successfully installed.
Build an Android development environment in eclipse