赞
踩
1.先下载Flutter 的SDK ,网页中有打包好的SDK( https://flutter.io/setup-macos/),或者可以使用git 命令行去下载SDK(git clone -b beta https://github.com/flutter/flutter.git
)。
2.设置PATH:
1.打开
open -e .bash_profile
2.添加路径
export PATH=${PATH}:下载的文件夹路径/flutter/bin:$PATH
3.刷新
source .bash_profile
3.检查
flutter doctor
4.结果:
5.Android Studio中插件配置:
需要安装 Dart 和 Flutter 插件
6.Android Studio中创建Flutter工程:
此处选择 Flutter SDK 的下载路径
7.成功:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。