运行扑医时难以获得错误

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

它在开始时运行顺利,但过了一段时间我得到了这个:

下载windows-x64工具......下载失败。网址:https://storage.googleapis.com/flutter_infra/flutter/1c26bf8c4b55f4fa5f0d175768a1a0cc115c70b2/windows-x64/artifacts.zip错误:403禁止“

我试图改变flutter目录,但它没有帮助。

download dart flutter
1个回答
0
投票

如果您位于代理或防火墙后面,请按照这些文档中的说明进行操作

https://flutter.io/community/china

https://www.dartlang.org/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall

export https_proxy=hostname:port

https://github.com/flutter/flutter/wiki/Workarounds-for-common-issues#hot-reload-not-working

export NO_PROXY=127.0.0.1,localhost
© www.soinside.com 2019 - 2024. All rights reserved.