【发布时间】: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