系统环境变量里面配置
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
网友评论