当前位置:   article > 正文

AOSP清华镜像下载错误解决_downloading repo source from

downloading repo source from

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'
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

解决办法:

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日

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/382778
推荐阅读
相关标签
  

闽ICP备14008679号