Android repo init在尝试下载源代码时失败
我按照一些指南下载了Android的源代码 和 我可以下载repo并使其可执行。但在此之后,我使用以下命令:Android repo init在尝试下载源代码时失败,android,repository,Android,Repository,我按照一些指南下载了Android的源代码 和 我可以下载repo并使其可执行。但在此之后,我使用以下命令: repo init-uhttps://android.googlesource.com/platform/manifest 或 repo init-ugit://git.omapzoom.org/platform/omapmanifest.git -b froyo 但这两个命令都会产生以下错误: 致命:分支“稳定”尚未签名 有人知道如何解决这个问题,所以我可以下载源代码吗 我已经尝试
repo init-uhttps://android.googlesource.com/platform/manifest
或
repo init-ugit://git.omapzoom.org/platform/omapmanifest.git -b froyo
但这两个命令都会产生以下错误:
致命:分支“稳定”尚未签名
有人知道如何解决这个问题,所以我可以下载源代码吗
我已经尝试重新安装repo。关于此链接的建议
我支持代理,但我使用命令让代理工作。解决了在REPO文件中编辑REPO\u URL定义、将https更改为http的问题。不仅要将REPO文件中的REPO\u URL定义从https更改为http,还需要更改命令。例如:
repo init -u http://android.googlesource.com/platform/manifest
如果仍然出现错误,请使用下面的命令尝试最新的回购工具
repo init -u http://android.googlesource.com/platform/manifest --repo-url=https://android.googlesource.com/tools/repo
或
repo init -u http://android.googlesource.com/platform/manifest --repo-url=http://android.googlesource.com/tools/repo