Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Development Environment

  1. Download the AOSP android-11.0.0_r48 code to the android-11.0.0_r48 folder.
    1
    2
    3
    4
    cd android-11.0.0_r48
    repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r48
    repo sync -j8
    repo start android-11.0.0_r48 --all
    
  2. Compile the AOSP.
    1
    2
    3
    4
    cd android-11.0.0_r48
    source build/envsetup.sh
    lunch aosp_arm64-eng
    make
    
  3. Create a directory in the AOSP directory to store the code to be compiled.
    1
    2
    cd android-11.0.0_r48
    mkdir code