Flutter 环境变量搭建报错问题

2024-08-07  本文已影响0人  加油小李

系统环境变量里面配置
PUB_HOSTED_URL=https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
运行flutter doctor 如果提示: Network resources
X A network error occurred while checking "https://github.com/": 信号灯超时时间已到
则需要在控制台给git配置代理:
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890

flutter环境变量配置问题.png
上一篇 下一篇

猜你喜欢

热点阅读