-
下载FlutterSDK SDK地址
-
配置环境变量 去到目录 :
export FLUTTER_HOME=/Applications/flutter
export PATH=FLUTTER_HOME/bin
export PATH=FLUTTER_HOME/bin/cache/dart-sdk/bin -
macOS或者Linux操作系统,依然是编辑~/.bash_profile文件
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL= https://storage.flutter-io.cn -
测试是否配置成功:flutter --version
dart --version -
下载AS 官网地址:https://developer.android.com/studio/?utm_source=android-studio
网友评论