You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

构建AndroidX库时遇'sso'远程助手未找到问题求助

克隆AndroidX代码时遇到"unable to find remote helper for 'sso'"错误

执行以下repo初始化命令时:

$ repo init -u sso://android/platform/manifest \
    -b androidx-main --partial-clone --clone-filter=blob:limit=10M

出现错误:

manifests:
fatal: unable to find remote helper for 'sso'
manifests: sleeping 4.0 seconds before retrying

manifests:
fatal: unable to find remote helper for 'sso'
fatal: cannot obtain manifest sso://android/platform/manifest

已完成的准备步骤:

  • 完成访问控制设置,获取了.gitcookies文件
  • Git配置如下:
$ git config --list
user.name=<hide this>
user.email=<hide this>
color.ui=auto
http.proxy=127.0.0.1:7890
http.cookiefile=/home/<hide this>/.gitcookies
https.proxy=127.0.0.1:7890
core.autocrlf=input
credential.helper=store
  • 已提交Google Contributor License Agreement:
New Contributor Agreement
Select an agreement type:
 Google CLA
Agreement already submitted.
Google Contributor License Agreement

问题原因与解决方法

sso://是Google内部专属的版本控制协议,外部开发者无法使用对应的Git远程助手。只需将repo初始化命令中的URL替换为公开的HTTPS地址即可解决:

修改后的命令:

repo init -u https://android.googlesource.com/platform/manifest \
    -b androidx-main --partial-clone --clone-filter=blob:limit=10M

重新执行上述命令,即可正常获取manifest文件并继续后续代码克隆流程。

内容的提问来源于stack exchange,提问作者Orrest

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.21 02:54:36