android - 通过repo获取android源码

标签 android repository

我正在尝试获取 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/

相关文章:

android - 强制 fragment 内的 LiveData Observer 在再次可见后接收更改?

android - 类转换异常对话框android

android - 日历类的使用

c# - DDD : Should Persistence Logic belong to Infrastructure Layer?

windows - 在 LAN 中的系统上设置和查找 svn 存储库

java - 如果文件不相等,gradle 不更新依赖项

git - 在 GitHub 上 fork 一个存储库的子目录并使其成为我自己的存储库的一部分

Java按月份将月份数组排序为多个数组

java - 无法转换为 com.google.android.gms.location.LocationListener (我已经实现了 LocationLister)

xcode - 将 GitHub for mac 与旧的 Xcode 项目一起使用