(OK) fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle


http://www.cnblogs.com/dinphy/p/5669384.html


解决:Cannot get http://gerrit.googlesource.com/git-repo/clone.bundle

同步cm12.1初始化出现的问题:

fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 101] Network is unreachable

解决方法,先单独克隆repo,然后将git-repo里面的repo文件复制到bin目录,在同步源码的工作目录新建.repo文件夹,把git-repo重命名为repo复制到.repo目录下:

git clone https://gerrit-googlesource.lug.ustc.edu.cn/git-repo

重新初始化:

repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1

同步开始

repo sync -c -j8

 


posted @ 2017-03-02 08:04  张同光  阅读(494)  评论(0编辑  收藏  举报