无法重新同步cyanogenmod来源卡在99%

时间:2016-07-18 10:45:19

标签: android

Fetching projects:  97% (505/520)  Fetching project CyanogenMod/android_hardware_qcom_media
Fetching project CyanogenMod/android_hardware_qcom_audio
fatal: Couldn't find remote ref refs/heads/stable/cm-13.0-ZNH2KB
Unexpected end of command stream
Fetching project CyanogenMod/android_hardware_qcom_media
Fetching project CyanogenMod/android_hardware_qcom_audio
Fetching project CyanogenMod/android_hardware_qcom_media
Fetching projects:  98% (510/520)  Fetching project CyanogenMod/android_hardware_qcom_audio
fatal: Couldn't find remote ref refs/heads/stable/cm-13.0-ZNH2KB
Unexpected end of command stream
Fetching project CyanogenMod/android_hardware_qcom_media
Fetching project CyanogenMod/android_hardware_qcom_audio
Fetching project CyanogenMod/android_hardware_qcom_media
Fetching projects:  99% (515/520)  Fetching project CyanogenMod/android_hardware_qcom_media
fatal: Couldn't find remote ref refs/heads/stable/cm-13.0-ZNH2KB
Unexpected end of command stream
fatal: Couldn't find remote ref refs/heads/stable/cm-13.0-ZNH2KB
Unexpected end of command stream
error: Cannot fetch CyanogenMod/android_device_qcom_sepolicy
error: Cannot fetch CyanogenMod/android_vendor_qcom_opensource_dataservices
error: Cannot fetch CyanogenMod/android_vendor_qcom_opensource_time-services
error: Cannot fetch CyanogenMod/android_vendor_qcom_opensource_dpm

error: Exited sync due to fetch errors

1 个答案:

答案 0 :(得分:0)

使用--force-broken-f从网络错误中恢复。

所以,使用如下的repo sync:

repo sync -j8 -f

如果仍然出现错误,请添加评论。