depot_tools更新失败
鉴于伟大的墙,windows系统下使用depot_tools命令(比如gclient)时会出现更新失败的错误:
Ensuring CIPD client is up-to-date
GET https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?version=bccdb9a605037e3dd2a8a64e79e08f691a6f159d&package_name=infra%2Ftools%2Fcipd%2Fwindows-amd64
Failed to fetch https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?version=bccdb9a605037e3dd2a8a64e79e08f691a6f159d&package_name=i

本文介绍了在Windows系统中,由于网络限制导致depot_tools更新失败的问题及其解决方法。通过在update_depot_tools.bat文件中禁用自动更新或者设置代理,可以成功解决这个问题。
最低0.47元/天 解锁文章
4570

被折叠的 条评论
为什么被折叠?



