android源码下载过程中错误及解决办法

使用 python ./repo sync -f同步,可自动修复同步错误的文件

设置shell代理
$ export HTTP_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>
$ export HTTPS_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>

Not a git repository错误
多试几次,如果还不行,可查看相应目录下的config文件,找到仓库地址后手动同步
git clone --bare <repo_url>

若有checkout分支,根目录要用git init初始化

posted @ 2014-10-28 20:39  晓耕翻露草  阅读(231)  评论(0编辑  收藏  举报