Android Drive Monthly Exam 4
The fourth chapter of the source code download and compilation-Reading notes
1. Configure the Android source code download environment
creating files and configuring Paths path
Download scripts using curl or wget and assign permissions to ~/bin/repo
Create a directory of Android source code and initialize the init, and start downloading the source code, or you can download part of the source code.
2. Clone the Android source code project from Googlesource to local using Git clone.
3. Compile, it is more important here, run envsetup.sh installed shell script, after the installation step to connect the emulator.
4. It is also important to download and compile the source code of the Linux kernel, as well as to clone from Googlesource to local, then configure and install the Linux kernel, because the Linux version needs to be different, and then there will be some discrepancies during the installation of the build configuration. , but very similar, in the absence of files or errors when the immediate view and resolution.
The fourth chapter of the source code download and compilation-Reading notes