android源码

https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/

https://lug.ustc.edu.cn/wiki/mirrors/help/aosp

参考 下载tar包,约44G (8.01),解压后进行repo sync

报错 manifest文件夹中出现没有提交的错误

处理方式:

git fetch --all  
git reset --hard origin/master 
git pull
切入对应目录强制更新该目录

或者组合模式
repo forall -c "git reset --hard && git clean -fd && git pull"
http://blog.csdn.net/u012637313/article/details/48028161
#需要修改下命令
然后切到aosp目录中repo sync 或者推荐使用repo sync -l 检出所有文件


原文地址:https://www.cnblogs.com/billhsu2009/p/8525483.html