Flutter開發環境安裝

丟的錢找到了發表於2019-03-12

1.IDE

VSCode,裝Flutter外掛

2.框架安裝包被牆的問題

按照官網的說法,改下域名就可以了.
例如原來的地址
https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v1.0.0-stable.zip
修改後的地址
https://storage.flutter-io.cn/flutter_infra/releases/stable/windows/flutter_windows_v1.0.0-stable.zip

3.環境變數

  • export PUB_HOSTED_URL=https://pub.flutter-io.cn
  • export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
  • export PATH="$PWD/flutter/bin:$PATH"

相關文章