Windows搭建Flutter Android运行环境
一、电脑上安装配置JDK
二、下载Android Studio
三、下载配置Flutter SDK
Flutter SDK releases | Flutter
四、配置Flutter国内镜像
https://flutter-io.cn/
拉到Flutter中文网最下面有配置方式,把下面两句配置到环境变量里面
FLUTTER_STORAGE_BASE_URL: https://storage.flutter-io.cn
PUB_HOSTED_URL: https://pub.flutter-io.cn
五、运行flutter doctor 命令检测环境是否配置成功
如果运行flutter doctor报错,则运行下面命令
flutter doctor --android-licenses 一路按y就行了