fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
很明显,该地址被墙。
解决方法:
重新给repo 设置一个国内的镜像地址 --repo-url=https://gerrit-googlesource.lug.ustc.edu.cn/git-repo
也就是说,输入一下命令即可:
sudo repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/lineageOS/LineageOS/android.git -b cm-14.1 --repo-url=https://gerrit-googlesource.lug.ustc.edu.cn/git-repo