当前位置:网站首页>Flutter教程之 01配置环境并运行demo程序 (教程含源码)
Flutter教程之 01配置环境并运行demo程序 (教程含源码)
2022-07-31 22:37:00 【知识大胖】
1.下载以下安装包以获取 Flutter SDK 的最新稳定版本:
https://docs.flutter.dev/get-started/install/macos
2.将文件提取到所需位置,例如:
cd ~/development
unzip ~/Downloads/flutter_macos_3.0.5-stable.zip
3.将flutter工具添加到您的路径:
将flutter工具添加到您的路径:
4.Run flutter doctor
运行以下命令以查看是否需要安装任何依赖项才能完成设置(对于详细输出,请添加-v标志):
flutter doctor
此命令检查您的环境并向终端窗口显示报告。Dart SDK 与 Flutter 捆绑在一起;不需要单独安装 Dart。仔细检查输出,了解您可能需要安装的其他软件或要执行的其他任务
安装任何缺少的依赖项后,flutter doctor 再次运行该命令以验证您是否已正确设置所有内容。
flutter doctor --android-licenses
5. 配置IDE
苹果电脑
对 macos 使用以下说明:
- 启动 Android Studio。
- 打开插件首选项(Preferences > Plugins v3.6.3.0 或更高版本&
边栏推荐
- UOS统信系统 - WindTerm使用
- Weekly Summary
- 支付模块实现
- MySQL数据库‘反斜杠\’ ,‘单引号‘’,‘双引号“’,‘null’无法存储
- Unity - by casting and cloning method dynamic control under various UGUI create and display
- 无状态与有状态的区别
- Structure of the actual combat battalion module eight operations
- Payment module implementation
- ICML2022 | 深入研究置换敏感的图神经网络
- LeetCode 第 304 场周赛
猜你喜欢
Golang - from entry to abandonment
C#中引用类型的变量做为参数在方法调用时加不加 ref 关键字的不同之处
Shell常用脚本:Nexus批量上传本地仓库脚本
景区手绘地图的绘制流程
Shell常用脚本:Nexus批量上传本地仓库增强版脚本(强烈推荐)
Unity-LineRenderer显示一条线
Chapter VII
Write a database document management tool based on WPF repeating the wheel (1)
登录业务实现(单点登录+微信扫码+短信服务)
MATLAB program design and application 2.4 Common internal functions of MATLAB
随机推荐
Fixed-length usage of nanopb string type based on RT1052 Aworks (27)
TypeScript 的组件
一文带你了解 Grafana 最新开源项目 Mimir 的前世今生
HTC using official firmware as bottom bag made ROM brush card bag tutorial
Go mode tidy reports an error go warning “all” matched no packages
【FPGA教程案例43】图像案例3——通过verilog实现图像sobel边缘提取,通过MATLAB进行辅助验证
基于simulink的Passive anti-islanding-UVP/OVP and UFP/OFP被动反孤岛模型仿真
Implementing a Simple Framework for Managing Object Information Using Reflection
Niuke.com brush questions (1)
How to get useragent
Pytorch lstm time series prediction problem stepping on the pit "recommended collection"
二叉树非递归遍历
Network security - crack WiFi through handshake packets (detailed tutorial)
如何导入 Golang 外部包并使用它?
面试突击69:TCP 可靠吗?为什么?
面试突击69:TCP 可靠吗?为什么?
Quick Start Tutorial for flyway
spark reports an error OutOfMemory "recommended collection"
HTC使用官方固件作为底包制作rom卡刷包教程
什么是客户画像管理?