repo init LineageOS 源错误:Repo 命令失败:UpdateManifestError

问题描述 投票:0回答:1

我想知道我的仓库环境是否有问题

当我尝试时:

repo init -u https://github.com/LineageOS/android.git -b lineage-20.0 --depth 1

我收到以下错误 enter image description here

fatal: cannot obtain manifest https://github.com/LineageOS/android.git
================================================================================
Repo command failed: UpdateManifestError

我之前成功过,但是当我重新安装repo时会发生这种情况

enter image description here

android git terminal repository repo
1个回答
0
投票

我认为我的 git 和 repo 环境错误,我删除 .repo_.gitconfig.json,然后重新安装 git 和 repo,然后就可以了

© www.soinside.com 2019 - 2024. All rights reserved.