Closed sailei1 closed 5 years ago
flutter 开发环境搭建 下载 stable Flutter SDK 解压 cd ~ mkdir development cd ~/development unzip ~/Downloads/flutter_macos_v1.5.4-hotfix.2-stable.zip
添加环境变量
cd ~ open -e .bash_profile 路径 /Users/xxx/.bash_profile export PATH="/Users/xxx/development/flutter/bin:$PATH" 查看依赖
flutter doctor
下载 Android studio android studio unable to access android sdk add-on list问题 点cancel 跳过
下载Android sdk
下载 dart flutter genymotion 插件
然后新建flutter 项目
启动 遇到 License for package Android SDK Platform 28 not accepted 问题 解决办法: 下载 android 28
进入命令窗口 flutter run flutter doctor --android-licenses 一直yes
adb server version (41) doesn't match this client (40); 问题 未解决
flutter packages get 安装包依赖
flutter 开发环境搭建 下载 stable Flutter SDK 解压 cd ~ mkdir development cd ~/development unzip ~/Downloads/flutter_macos_v1.5.4-hotfix.2-stable.zip
添加环境变量
cd ~ open -e .bash_profile 路径 /Users/xxx/.bash_profile export PATH="/Users/xxx/development/flutter/bin:$PATH" 查看依赖
flutter doctor
下载 Android studio android studio unable to access android sdk add-on list问题 点cancel 跳过
下载Android sdk
下载 dart flutter genymotion 插件
然后新建flutter 项目
启动 遇到 License for package Android SDK Platform 28 not accepted 问题 解决办法: 下载 android 28
进入命令窗口 flutter run flutter doctor --android-licenses 一直yes
adb server version (41) doesn't match this client (40); 问题 未解决