Android Deep Exploration notes-fourth Chapter

Source: Internet
Author: User

To download the Linux kernel adapted to Android, it should be downloaded via the URL provided by Google, not just downloadable. After strictly performing the steps on the book you can download the source code for Android. By relying on the repository (. git), you can easily download the updated version of the content via Repo sync, and do not delete the. git.

We can also only download part of the source code, through Reop sync platform/want to download the parts of the directory, you can find that to accurately download, you must be familiar with the software directory structure. You can also complete a partial download by using Git to clone a specific part of the URL.

Envsetup.sh is used to initialize the compilation environment, which is a footstep file that defines many commands, while the compiled command MMM is more useful than mm.

Lunch Select the compile target, make command to compile, here refers to the core number of CPU plus-JN parameters, is the first I see, this is a way to improve the speed of the compilation of the Key method.

The host in the Out directory is the runtime and tool that is used on the build platform, and target is stored directly on the Android device, which is a good embodiment of the cross-compilation approach.

Software installation packages such as Apk,iso file formats are essentially a compressed file that can be extracted by extracting the files. And the book taught us to pack their own programs into Android built-in program release, in many Android phones have this phenomenon, to a certain extent, the user has become troubled.

Android Deep Exploration notes-fourth Chapter

Related Article

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.