1. git clone https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest
cd manifest
使用 git branch -a 命令查看可用版本
然后 git checkout -b qr40 origin/android-10.0.0_r40 切换到想要的版本
然后就看到 manifest 目录下有个 default.xml 文件,里面是 android q 项目用到的模块代码配置;
2. git clone https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/external/boringssl
使用 git branch -a 查看代码分支。
然后 git checkout 到需要的版本。