android - 无法 repo init android 源代码镜像
问题描述
我正在尝试镜像 Android 源代码,但这是不可能的。我不得不将 python 升级到 3.6 并更新 repo。
但是我不能 repo init android 源镜像。
jeffrey@devserver:/home1/aosp/mirror$ repo init -u https://android.googlesource.com/mirror/manifest --mirror 从https://gerrit.googlesource.com/git-repo下载 Repo 源下载清单来自https://android.googlesource.com/mirror/manifest --exit-code', name, 'HEAD') File "/home1/aosp/mirror/.repo/repo/project.py", line 3034, in runner (self._project.name, name, p.stderr) ) error.GitError: manifests ls-remote: 用法: git ls-remote [--heads] [--tags] [--upload-pack=] [-q | --quiet] [--exit-code] [--get-url] [ [...]]
有人可以帮忙吗?
谢谢,
解决方案
你的 'git ls-remote' 没有 '--symref' 参数,也许你需要更新 git 版本。
推荐阅读
- mysql - 如何在 mysql 中创建模式以及如何将现有记录导入数据库?
- wildfly - 不支持 AEAD
- javascript - 谷歌表格图表在屏幕上完美显示,但不会打印所有图表(随机打印)
- android - recyclerview 问题上的 Alpha 动画 - 淡入为零后弹回
- javascript - 在单选按钮上调用函数
- python - python中字符串变量名的numpy数组值
- google-cloud-platform - 发布/订阅主题的 GCP 服务帐户访问问题
- apache-spark - PYCHARM 中的 Spark-Avro 错误 [TypeError: 'RecordSchema' 对象不可迭代]
- tensorflow - 无法将 TensorBoard 安装为 Keras 回调
- python-3.x - 为什么 heapq.heapify 这么快?