栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Android源码下载过程记录

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Android源码下载过程记录

因为墙的缘故,对于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'

请完成封面图设置?

请完成封面图设置?

请完成封面图设置?

请完成封面图设置?

请完成封面图设置?

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/723702.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号