Compiling the Windows version of ADB FastBoot in a virtual machine Linux environment

Source: Internet
Author: User
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 .

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.