0

首先我

$ git clone https://android.googlesource.com/platform/frameworks/base
Cloning into 'base'...
remote: Sending approximately 1.04 GiB ...
remote: Counting objects: 43200, done
remote: Finding sources: 100% (3713/3713)
remote: Getting sizes: 100% (1738/1738)
remote: Compressing objects:  99% (27152/27153)
Receiving objects:   4% (36212/787666), 16.81 MiB | 183 KiB/s

有一段时间,git挂了,没有继续,所以我打破了git

$ git clone http://android.googlesource.com/platform/frameworks/base
Cloning into 'base'...
remote: Sending approximately 1.04 GiB ...
remote: Counting objects: 43200, done
remote: Finding sources: 100% (3713/3713)
remote: Getting sizes: 100% (1738/1738)
remote: Compressing objects:  99% (27152/27153)
error: RPC failed; result=56, HTTP code = 20075 MiB | 186 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

现在它如上所述失败了,我尝试了几次,每次都得到与上面相同的错误。

如何解决或解决方法?

4

1 回答 1

1

我在 git clone https://android.googlesource.com/platform/frameworks/base时遇到了同样的问题。“接收对象”进度始终显示为 4%。

不幸的是,我无法得到解决这个问题的答案。所以我将远程 url 更改为 github:

git 克隆https://github.com/android/platform_frameworks_base.git

它现在可以正常工作了。

于 2013-12-05T01:35:52.913 回答