See a lot of friends on the Internet to build an Android development environment distress, the following article hopes to help these friends:
You can useAndroid Studio, which provides integrated Android development tools for development and debugging, is a great development environment. The following is an introduction to eclipse:
install the JDK and Eclipse first:
The official websites are:
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
www.eclipse.org
Learning software should be installed, not to do the narrative, here is to say that the JDK after the installation of a high version of the environment, the system can be read directly.
then we install ADT in Eclipse.: Http://yunpan.cn/cVWvEXJznWsem access Password a277
Installation steps Help, install New software (note that ADT does not require decompression)
the next step is to install the Android SDK: http://www.android-studio.org/According to the system installation (of course, the wall, Google provides integrated ADT and SDK,.) The wall is very high recently.
Then we need to download the SDK installation folder in the Android option in Eclipse window---preferences
Recommended Configuration Android_sdk_home:%android_sdk_home%\tools;%android_sdk_home%\platform-tools. For ease of use, we will have direct access to tool software under Tools, and the emulator directory will automatically be created automatically in the SDK directory when creating the emulator. Note that it is configured in the ADMINISTRAOR user variable.
Then we need to go to the installation directory of the Android SDK, double-click the SDK Manager, choose Tools and the Android version you want to develop, it is possible that several packages have not been downloaded successfully, try a few more. Here we have to say that the installation is very slow:
first change the host file, the host file in the C:\Windows\System32\drivers\etc directory, with Notepad to open the "hosts" file, the following two lines of information appended to the hosts file at the end, save it. If your WINDOWS8 system may not have permission to modify the host file, you can right-click the Hosts file and set the Users group to a permission that can be fully controlled by the hosts file.
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
the above two lines in the host file mean that local access dl.google.com and dl-ssl.google.com are directed to a server with an IP address of 203.208.46.146.
We have tools above the SDK Manager, click the options below, tick
We can also find agents (http://www.androiddevtools.cn/), Faster:
After all the above:
Put back on eclipse:
Click to go to create the simulator, because we need a simulation device after development, we create according to development requirements.
Because if the accelerator software is not installed, the simulator starts very slowly and we need to install the software:
D:\androidsdk\extras\intel\Hardware_Accelerated_Execution_Manager installs itself in the SDK directory, but some computers have to modify the virtualization technology options in Bois, Restarting the computer into the Bois,system Configuration option has virtualization technology set to Enabled, and many computers are now set to available by default.
Here is a brief introduction to Adb:androidDebug Bridge:
We can run ADB:ADB devices under DOS;
Close ADB:ADB Kill-server;
There are also many ADB command lines
Most of the time the simulator and Eclipse and disconnect are generally in two cases:
1. Restart ADB to resolve issues
The port number used by the 2,ADB, which is occupied by other software, is entered at this time under DOS:
Netstat-ano
After checking the port-occupied software, open Task Manager and kill the process that occupies the ADB port.
Of course you can also use a third-party simulator, such asgenymotion and so on.
Finally, provide a resource website where you can build and download more resources from Android Studio:
http://www.androiddevtools.cn/
Build an Android development environment under eclipse