使用Ubuntu20.04版本,我可以克隆Android源代码,但是突然我的系统出现问题,现在我无法克隆Android源代码。
$repo init -u https://android.googlesource.com/platform/manifest -b master
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to
get local issuer certificate (_ssl.c:1131)
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
尝试安装 repo,
$sudo apt-get install repo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package repo
看来 repo 已被卸载,现在我无法安装它。
我花了很多时间来解决这个问题,但谷歌解决方案没有帮助。你能帮我解决这个问题吗?
谢谢。