1

我正在使用 fedora 25,并使用以下命令下载 android 姜饼。

repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.7_r1
repo sync -c -j4

输入后(大约 24 小时后,下载大小 13G),

我得到:

Fetching projects:  97% (166/171)  Fetching project platform/external/neven
Fetching project platform/external/dnsmasq
Fetching projects:  99% (170/171)  remote: Sending approximately 2.15 GiB ...        
remote: Counting objects: 367, done        
remote: Finding sources: 100% (2029012/2029012)           
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
remote: Sending approximately 2.15 GiB ...        
remote: Counting objects: 367, done        
remote: Finding sources: 100% (2029012/2029012)           
^Cerror: Cannot fetch platform/frameworks/base MiB | 118.00 KiB/s   
aborted by user

该错误不断重复。我在互联网上读到它说,我需要生成 RSA 密钥,然后将其复制到 GitHub 帐户。我该怎么做。

还请特别解释这些错误的含义

remote: Sending approximately 2.15 GiB ...  

是下载还是上传?

4

1 回答 1

0

我终于做到了。这不是一个技术解决方案,但我所做的与过去三四次尝试不同的是我保持系统处于活动状态(不是处于睡眠模式,因为它在一段时间的空闲交互后关闭)

接收对象:99%(2024331/2029012),2.10 GiB | 119.00 千字节/秒

在 98% 或 99% 下载时,请确保操作系统不会进入睡眠模式。在此处输入图像描述

于 2017-03-19T18:10:57.883 回答