下载Android源代码出错,请教会是什么原因
下载android源代码,在这一步出错:
repo init -u https://android.googlesource.com/a/platform/manifest
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: HTTP error 403
一个下午都一直出错,有时候是HTTP error 113 有时候是HTTP error 403
请教一下大侠们会是什么原因
已使用goagent,大家懂得。
goagent的提示是:
127.0.0.1:33376 - - [Sep 3 19:22:00] "CONNECT gerrit.googlesource.com:443 HTTP/1.0" 200 -
127.0.0.1:33376 - - [Sep 3 19:22:00] "GET https://gerrit.googlesource.com:443/git-repo/clone.bundle HTTP/1.0" 403 -
没办法也尝试了google上面的认证:
The first step is to create a password from the password generator and to save it in ~/.netrc according to the instructions on that page.
The second step is to force authenticated access, by using the following manifest URI: https://android.googlesource.com/a/platform/manifest. Notice how the /a/ directory prefix triggers mandatory authentication. You can convert an existing client to use mandatory authentication with the following command:
但是这边修改~/.netrc,然后我在PC上没发现这个文件,就
sudo gedit ~/.netrc,然后粘贴保存,请教高手如此是否有效。
这个也尝试了
$ sudo sysctl -w net.ipv4.tcp_window_scaling=0
$ repo sync -j1
总而言之,一句话,无效!
崩溃中,请求高手、大侠们解决下