赞
踩
AOSP从清华镜像下载,遇到以下错误:
Downloading Repo source from https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
fatal: unable to access 'https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/': server certificate verification failed.
CAfile: /etc/ssl/certs/ca-certificates.crt
CRLfile: nonerepo: error: "git" failed with exit status 128
cwd: /home/abcd/share/android-12.1.0_r5/.repo/repo
cmd: ['git', 'fetch', '--quiet', '--progress', 'origin', '+refs/heads/*:refs/remotes/origin/*', '+refs/tags/*:refs/tags/*']
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
解决办法:
export GIT_SSL_NO_VERIFY=1
参考:https://cynthiachuang.github.io/Git-Https-Server-Certificate-Verification-Failed-Solution/
作者简介:https://shimo.im/docs/rp3OVwxle2fJn7Am/
上海徐汇
2022年6月26日
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。