📌  相关文章
📜  尝试在 https:pub.dartlang.org 上查找包 cupertino_icons 时遇到套接字错误. - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:47.098000             🧑  作者: Mango

代码示例1
# On Linux, this worked for me and for many other people...
# It should work for you too.


export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

# On windows, you should create an environment variable with:
name: PUB_HOSTED_URL
value: https://pub.flutter-io.cn

name: FLUTTER_STORAGE_BASE_URL
value: https://storage.flutter-io.cn