1. 执行repo init -u http://shaasigit02/git/manifests/yocto.git -b bug-fix的时候出现如下错误:
fatal: Cannotget https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: errorTunnel connection failed: 504 Proxy Timeout ( The connection timed out. )
原因:repo 文件中的URL链接不对
需要修改:REPO_URL tohttp://shaasigit02/git/android/tools/repo.git, 该链接不是固定的,需要改成各自对应的。
2. 执行repo init -u http://shaasigit02/git/manifests/yocto.git -b bug-fix 的时候出现如下错误:
fatal: Cannot get http://shaasigit02/git/android/tools/repo.git/clone.bundle
fatal: HTTP error 401
原因: ~/.netrc的权限不对需要将.netrc的权限改成600,即 chmod 600 ~/.netrc