2017-03-15 129 views
1

我正在使用fedora 25,并使用以下命令下载android姜饼。下载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 ... 

是其下载的含义或上传?

回答

0

我终于做到了。 这不是一个技术解决方案,但我做了与过去三四次尝试不同的事情,是我在

之前保持系统处于活动状态(不处于睡眠模式,因为它在一定时间的空闲交互之后熄灭)

接收对象:99%(2024331/2029012),2.10 GiB | 119.00 KiB/s

在98或99%的下载时间确保os不会进入睡眠模式。 enter image description here