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