参考 https://flutterchina.club/
1,硬件
mac pro
2,需要下载的软件(最新版本)
Xcode (appstore下载)
Android Studio(https://developer.android.com/studio/index.html)
VScode
3,下载flutter依赖
https://flutter.dev/docs/development/tools/sdk/releases?tab=macos#macos
4,执行flutter doctor
cd 到步骤3下载的flutter文件目录下执行flutter doctor命令
可能遇到的报错信息
Android sdkmanager tool not found 解决办法参考
https://blog.csdn.net/JustinJia91/article/details/105204164?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15
Xcode installation is incomplete 解决办法参考
终端执行 xcode-select --switch /Applications/Xcode.app/Contents/Developer
最后再次执行 flutter doctor 看的没有异常即可。