以windows电脑环境为例
第一步:https://flutterchina.club/ 配置flutter环境变量
exportPUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
https://flutter.dev/docs/development/tools/sdk/releases#windows
下载flutter sdk
下载android sdk
下载java sdk
解压到相应的硬盘目录 ,并配置sdk 的path环境变量

flutter doctor --android-licenses

Flutter doctor命名运行
第二步 :下载android sdk (MAC 环境下载xcode)
https://developer.android.google.cn/studio/install
配置adb环境


运行adb

再运行flutter doctor时 ( 需要同意协议 )

flutterdoctor --android-licenses


一直按y 完成协议的确认

Andoid studio 对flutter 插件的配置


Android Studio不显示New Flutter Project菜单
解决方法:配置studio 的flutter 的 sdk 路径


重启studio 就可以了

可以开心创建flutter 项目了

网友评论