因为墙的缘故,对于google相关地址的访问可能存在问题,repo init报错了,我们只需要替换成清华源即可
Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
repo拉取仓库时报"Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle"错误的解决方案_进击的小宇宙-CSDN博客
请完成封面图设置?
源码下载报错:
repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android-12.0.0_r26
/usr/bin/env: ‘python’: No such file or directory
fatal: cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
Ubuntu上执行 repo命令下载源码时报了这个错,
原因:repo 每次执行的时候都会去检查更新自己,但是网站被墙了。
解决方法:
在命令中为 repo 设置国内镜像更新地址,在原有命令基础上添加如下命令:
--repo-url=https://gerrit-googlesource.lug.ustc.edu.cn/git-repo
请完成封面图设置?
repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android-12.0.0_r16
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno 111] Connection refused
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
请完成封面图设置?
请完成封面图设置?
请完成封面图设置?
请完成封面图设置?
请完成封面图设置?