https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/
清华AOSP 镜像地址如图
下载tar后解压 执行repo sync报错
Traceback (most recent call last): File "/home/wanglongjiang/aosp/.repo/repo/main.py", line 38, in <module> from color import SetDefaultColoring ImportError: cannot import name 'SetDefaultColoring'
原因:解压出来的repo文件夹缺少color.py等文件
解决方法:重新下载git-repo 替换原工程中的repo文件夹
curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ./repo chmod a+x repo
标签:清华,color,repo,AOSP,镜像,下载 From: https://www.cnblogs.com/wanglongjiang/p/17278626.html