Flutter配置环境变量

变量名 变量值
PUB_HOSTED_URL https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL https://storage.flutter-io.cn
DARK_HOME E:\Program Files\dart-sdk
FLUTTER_HOME E:\Program Files\flutter
ANDROID_HOME C:\Users\Administrator\AppData\Local\Android\Sdk
path %FLUTTER_HOME%\bin
path %ANDROID_HOME%\platform-tools
path %ANDROID_HOME%\tools

Win+R cmd 输入如下内容加以验证
验证flutter是否配置成功
flutter --version
验证AndroidSDK是否配置成功
adb

你可能感兴趣的:(flutter,flutter)