1、网址物料
https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/
2、下载repo工具
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
3、同步
repo sync
4、导入url地址
export REPO_URL=“https://aosp.tuna.tsinghua.edu.cn/git/git-repo/”
5、更新source
source REPO_URL
6、初始化repo
repo_tuna init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-cts- 6.0_r32
7、cd /repo/
grep cts ./repo/manifest.xml
8、repo sync platform/cts
下载完成就行
CTS源码下载方法
最新推荐文章于 2021-11-17 14:38:14 发布