From: http://blog.chinaunix.net/uid-20546441-id-1746200.html I'm adding "prerequisites" to some of the issues that are encountered with virtual machine compilation Linux Android source full virtual machine disk space around 100G (60G used to store code and compiled files) swap 30G or so, if too small will lead to missing files after compilation "Concrete steps" theoretically, as long as the next version of the Windows SDK, It comes with fastboot and ADB tools. But I have recently encountered a need to compile the Windows version of the ADB in Linux, the problem is not much to say, the steps are as follows: 1. Execution: Apt-get Install Mingw32 installs the Linux-windows cross-compilation environment mingwin2. Perform:. Build/envsetup.sh3. Execute Choosecombo, select each parameter these two steps set up some compilation parameters and environment variables, according to your normal compilation of Android settings. 4. Execute: Make Use_mingw=y adb5. Execution: Make use_mingw=y fastboot
At the end of the Out/host/windows-x86/bin directory, you'll find what you just compiled .