首先我
$ 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
现在它失败了,我尝试了几次,每次都遇到与上面相同的错误。
如何解决或解决方法?
答案 0 :(得分:0)
我在git clone https://android.googlesource.com/platform/frameworks/base时遇到了同样的问题。 “接收对象”进度始终显示为4%。
不幸的是,我无法得到解决这个问题的答案。 所以我把远程网址改为github:
git clone https://github.com/android/platform_frameworks_base.git
现在没有任何问题。