Android Deep Explore fourth Chapter

Source: Internet
Author: User

Configure Android Source code download environment (Repo script file download): 1. Create a directory to hold the script files; 2. Download the repo script file; 3. Create a directory to hold the Android source code; 4. Initialize; 5. Start downloading the Android source code.

Android source code directory structure resolution (Android source code directory meaning)

Download part of the Android source code: 1. Use the Repo Sync command with the directory name; 2 use git clone URL/project name

Compiling Android Source code: 1. Initialize the compilation environment; 2. Select the target; 3. Compiling Android Source code

The Out directory is the default directory that holds the target files generated by the compiled Android source code. There are only two direct subdirectories in the Out directory: Host and target. The host directory is just some of the libraries and tools that are needed during the compilation process. The target files in the Out/target can be run on the Android system.

Embed your APK program into the system.img file and test the system.img file with the simulator

Make mrproper clear all the files generated by the compilation + purge config file

Make Distclean Delete the backup files and patches left by the editor

Android Deep Explore fourth Chapter

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.