一、配置环境变量、SDK、开发工具、开发教程、开发文档、参考资料等
二、Flutter中文网
三、配置项验证时出现的问题总结
1. 配置环境变量时,Flutte SDK添加到系统变量Path
2. 需要配置国内镜像,添加用户变量
PUB_HOSTED_URL = https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL = https://storage.flutter-io.cn
3. 开始验证Flutter
```
flutter doctor
```
注:如果出现感叹号! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses按照他说的 输入 flutter doctor --android-licenses即可,此提示忘记截图。
-
Android Studio 3.x
打开Android Studio 设置安装Dart、Flutter2个Plugins,安装目录在.AndroidStudio3.x\config\plugins目录下,验证结果如下:
-
Android Studio 4.x
Android Studio4.x安装Plugins路径变了。
Android Studio 4.x未兼容Flutter stable,导致flutter doctor命令检测不到flutter,须手动切换dev,步骤如下:flutter channel dev
flutter doctor -v
flutter doctor