Android is still unable to compile properly under Windows. Although the official provides a method of Cygwin-assisted compilation, it is never recommended that you use this method, only when you are not using Windows is not considered.
The real problem is that many people in the country do not engage in the use of Android, but to engage in equipment, Android is actually used in Google has not imagined the occasion, and not limited to mobile phone tablet. You will often need to compile Android itself, or at least use the code of the Android framework layer.
In addition, if you use the NDK in C/s + +, the advantage of compiling and debugging under Linux is very obvious, if you need to compile some third-party C code is more so, it often requires the GNU compiled toolchain, and they can only run better under Linux. While the NDK program is proving to be able to compile under windows, configuring a reliable Windows environment is a lot more difficult than configuring a Linux environment for libraries that rely on the GNU compiler toolchain. This sentence may be interpreted as: recruiting someone who likes the Linux environment to do this is much easier than recruiting someone who likes the Windows environment to do these things.
If we add the last Domino: Many hardware solutions are now provided by the CPU chip manufacturers from the CPU to the peripheral chip hardware software package solution, while the CPU manufacturers to provide Android version, many hardware manufacturers as long as the CPU manufacturers do not provide upgrade version of Android No ability to upgrade. CPU manufacturers tend to give you a tool chain for Linux only, so you can only compile their Android source code and frameworks on Linux, and only use their toolchain to compile your C + + code (if your code relies on a library session from their CPU vendor).
Summarize:
1, a lot of code to use the NDK,NDK need to use Linux to compile more convenient, for example, most games have to use the NDK.
2, many developers need to involve the Android source code, must be compiled under Linux.
The tool chain provided by 3,CPU is a Linux version, which is related to the optimization of the CPU, and the related code must be developed under Linux (especially the functions of hardware decoding, audio and video playback, etc.).
4,AVD is just the interface resolution compatibility test when the temporary use, the actual debugging must be a real machine, so Android development efficiency and AVD performance Independent.
5,windows environment can only do a very limited number of hardware-independent Android development work, as a hardware manufacturer, you randomly built-in programs for the hardware optimization, which must use Linux to do, so Linan said words from the hardware producer's point of view should be basically true, this with Windows environment "Rotten not rotten" irrelevant, but "can" problem. This article is edited by "Www.zrnkyy.com"
How is the Android development environment under Windows today