Android Deep explore HAL and Driver Development fourth chapter source code download and compile

Source: Internet
Author: User

As mentioned earlier, Android porting is primarily a Linux kernel migration, and Linux kernel porting is primarily a Linux-powered migration, so in order to develop and test Linux drivers, it is necessary to learn in Ubuntu How to build two sets of development environments under Linux: Android Application development environment and Linux kernel development environment. The construction of the Linux kernel development environment is the focus of the focus. The following steps are written according to the contents of the book and the information on the Internet:

(1) Configure the Android source code download environment:

(2) The Android source code directory contains different sub-projects of the Android source code, respectively

(3) Download part of the Android source code in two ways:

(4) Compiling Android source code

(5) Out directory structure analysis

(6) Publish your apk as an Android built-in program

(7) Test system.img file with simulator

Driven development based on parsing and compiling test of Andorid source code. You want to use the source code of the application embedded in the Andorid system. and the HAL source code, so from the Andorid the number of source code, Andorid source is still very complex. Two sets of development environments to build, Linux kernel development environment and Android application development. Ultimately, better understanding of Android porting is primarily about porting the Linux kernel. The best way to learn new technologies is not to read technical books or to view articles written by cattle online, but to read the source code of the Linux kernel directly is the only way to approach the Linux kernel. This is when the real idea of the software author is clearly displayed in front of you.

Android Deep explore HAL and Driver Development fourth chapter source code download and compile

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: 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.