Want to be more clear and detailed introduction of the new Android development to build the environment of the problem, online already have a lot of this content, but I want to from a slightly different angle to explain.
What do you need to think about developing Android apps? First, Android development uses the Java language, so install the JDK (Java development Kit) and set up the environment variables. Second, in order to write Android applications, in this process requires Android development necessary library files (provided by Google, this should be part of the Android Development SDK), compiling and debugging tools.
The first thought is these things, then start to try to deploy it.
Assuming that the JDK is already installed and setting environment variables, then download intends to download the "Android SDK", go to the official website to find the Android SDK, found "SDK tools", this "SDK tools" and I imagined "Android SDK" What's the matter with it? Google separates the "Android SDK" I think of as "SDK Tools" and "Android Packages" in two parts. So why do we separate? Android version of the update is still very fast, from 1.x to now 5.0.x, then how do you develop software for multiple incompatible versions? Google separates the parts that are not part of the version change, known as "SDK Tools," as part of the version change called "Android Packages". The user first downloads "SDK Tools", "SDK Manager.exe" exists in SDK tools, runs SDK Manager.exe, and downloads different versions of "Android Packages" as needed. Once the download is complete, download Android Studio and set up the SDK location to do the development work.
If you use the SDK Manager.exe to download Android Packages, then the speed will be very slow. As a result, there are many articles on the web that are offline configured for the Android development environment, and the operation of the offline configuration development environment has become understood after some of the above introductions.
When the SDK Manager.exe is first opened, the following figure is displayed:
Discover that only the SDK tools installation is successful and requires the Android SDK Platform-tools and Android SDK Build-tools to be installed, both of which are unrelated to the Android API. Therefore, in an offline installation, you can copy the Build-tools and Platform-tools folders in the other person's SDK directory directly to your SDK directory.
The following sections
This is called "Android Packages", you can choose what you want to install. In an offline installation, simply unzip the "Android Packages" you want to install into the Platforms folder in the SDK directory.
The following sections
Where Google USB driver is required for program debugging via USB. In an offline installation, you only need to copy the Extras folder in the SDK directory to your SDK directory.
At this point, my presentation is over, some parts of the above introduction are not very clear, some may understand the error.
In fact, for Android development do not need a specific IDE, download the above required things, you can use Notepad to write code, and then on the command line to compile, debug and so on. Here are a few articles that show how to develop Android without using the IDE.
http://ncona.com/2013/02/introduction-to-android-development-building-an-application-without-an-ide/
http://ncona.com/2014/09/building-an-android-project-from-scratch-using-gradle/
Http://www.javaprogrammingforums.com/blogs/christopherlowe/26-setting-up-workstation-android-development-without-ide.html
http://codeseekah.com/2012/02/09/command-line-android-development-basics/
Http://incise.org/android-development-on-the-command-line.html
About Android Development Environment building