下载 android 的源代码时出错
Error while downloading source code of android
我正在使用 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 ...
是下载还是上传?
我终于做到了。
这不是技术解决方案,但我所做的与过去三四次尝试不同的是,我在
Receiving objects: 99% (2024331/2029012), 2.10 GiB | 119.00 KiB/s
在下载完成 98% 或 99% 时确保 os 不会进入休眠模式。
我正在使用 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 ...
是下载还是上传?
我终于做到了。 这不是技术解决方案,但我所做的与过去三四次尝试不同的是,我在
Receiving objects: 99% (2024331/2029012), 2.10 GiB | 119.00 KiB/s
在下载完成 98% 或 99% 时确保 os 不会进入休眠模式。