The fourth chapter of the source code download and compilation of the Reading

Source: Internet
Author: User

This chapter first describes the download compile and test Android source code: 1. Configure the Android source code download environment: The first step: Create a directory to hold the download script file; Step two: Download the repo script file. Step three: Create a directory to hold the Android source code; Fourth step: Initialize; step Fifth: Start downloading the android source code; 2. Android Source code directory structure parsing; 3. Download part of the Android source code: Method One: Use the Repo Sync command. Method Two: Use the git clone command ; 4. Compiling Android Source code: The first step: initializing the compilation environment; the second step: selecting the target; the third step: compiling the Android source code; 5.out directory structure analysis; 6. Release your apk as an Android built-in program 7. Test the System.img file with the simulator. Then it is to download and compile the kernel source code: 1. Download the Liunx kernel source code; 2.liunx kernel source directory structure; 3. Install the Android kernel's compilation environment: First step: Prepare for work. Step two: Unzip the compiler. Step three: Verify that the cross-compilation environment is installed successfully; Fourth step: Install Libncurses5;4. Configure and compile the Liunx kernel. The android transplant is primarily a liunx kernel transplant. And the Liunx kernel transplant is mainly liunx drive migration.

The fourth chapter of the source code download and compilation of the Reading

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.