【问题标题】:Cyanogenmod installation. Repo sync error. fatal: Couldn't find remote ref refs/heads/gingerbreadCyanogenmod 安装。回购同步错误。致命:找不到远程参考文献/heads/gingerbread
【发布时间】:2016-02-10 10:55:38
【问题描述】:

我正在按照official 指南为我的设备 (a1000) 构建 cyanogenmod。 一开始我想为任何受支持的设备构建,然后按照他们的建议为我的设备移植 CM。

我的操作系统是 Ubuntu 14.04 64 位笔记本电脑

我卡在同步 repo 步骤上。每次我同步它我都会收到这条消息

Fetching projects:  99% (225/227)  fatal: Couldn't find remote ref refs/heads/gingerbread

命令流意外结束 错误:无法获取 CyanogenMod/android_hardware_ti_wpan

错误:由于获取错误而退出同步

我试过了: 1.“回购同步--强制同步” 2.“sysctl -w net.ipv4.tcp_window_scaling=0” 3. 在 /etc/hosts 中硬编码 repo 的 dns 名称

这些解决方案都不适合我

当我执行repo init -u https://github.com/CyanogenMod/android.git -b cm-12.1 并在一切正常后同步时,这是错误的存储库,根据我使用的指南,我需要repo init -u https://github.com/CyanogenMod/android.git -b gingerbread

我可以使用替代 repo init 构建 CM 吗?我可以手动获取丢失的项目吗?如何?

【问题讨论】:

    标签: android git github cyanogenmod repo


    【解决方案1】:

    在 .git/manifest.xml 中通过注释项目行修复了这个问题

    【讨论】:

    • 各位审稿人:这答案。这是 OP 解释他们如何解决问题。
    猜你喜欢
    • 2022-10-24
    • 2012-12-12
    • 2015-11-20
    • 1970-01-01
    • 2014-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-08
    相关资源
    最近更新 更多