我正在尝试获取 android 源代码。当我运行时:
$ repo init -u https://android.googlesource.com/platform/manifest<br/>
我收到以下错误:
Get https://android.googlesource.com/tools/repo
error: RPC failed; result=22, HTTP code = 502
fatal: The remote end hung up unexpectedly
有人知道如何解决这个问题吗?
最佳答案
根据JBQ :
Occasionally a server gets itself in a bad state, and normally detects it and restarts itself. When you see a 403 or a 503, wait a little bit (say, half an hour), and retry.
Sorry for the inconvenience. the team working on googlesource.com is tracking down those issues.
我会再试一次,看看是否成功。如果没有,您可以考虑加入该 Google 群组并在那里进行咨询。
关于android - 通过repo获取android源码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7960861/