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 に答える