repo 无法连接gerrit.googlesource.com 下载工具

          

万恶的墙下,我们可以用其他的url来下载代码。

屏蔽掉repo里面的

#REPO_URL = 'https://gerrit.googlesource.com/git-repo'

在你的下载连接后添加  --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable

意外发现:

添加/etc/hosts

203.208.46.200 android.googlesource.com

可以访问到googlesource

这次下好的google code一定保存好,下一次不容易。

原文地址:https://www.cnblogs.com/bigben0123/p/4583781.html