AOSP镜像错误

时间:2017-08-30 03:28:11

标签: android git android-source repo

我想镜像AOSP存储库,所以我做了以下

mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
export http_proxy=http://xx.x.x.x:808/
export https_proxy=$http_proxy
~/bin/repo init -u https://android.googlesource.com/mirror/manifest --mirror
~/bin/repo sync -j6

一切正常,直到它下载60GB,然后它出现以下错误

致命:无法访问' https://android.googlesource.com/platform/prebuilts/clang/linux-x86/mips/3.3/&#39 ;:代理连接后跟269个字节的不透明数据。数据被忽略(已知错误#39)

在开始此下载之前,我尝试镜像 android-4.4.2_r1 分支,其中另外50GB从谷歌下载

我确定我的代理服务器正在运行。这是谷歌阻止我的原因,或者是什么原因可以解决这个问题。

非常感谢任何帮助

1 个答案:

答案 0 :(得分:1)

是的谷歌在从谷歌服务器下载100GB后阻止了我,这个official document给了我一个关于配额大小的提示。我按照文档中给出的说明使用了经过身份验证的访问,并且由于repo工具而再次启动下载剩下的项目。