当前位置:网站首页>Flutter Tutorial 01 Configure the environment and run the demo program (tutorial includes source code)
Flutter Tutorial 01 Configure the environment and run the demo program (tutorial includes source code)
2022-08-01 03:40:00 【Knowledge is fat】
1. Download the following installation package to get the latest stable version of the Flutter SDK:
https://docs.flutter.dev/get-started/install/macos
2. Extract the file to the desired location, eg:
cd ~/developmentunzip ~/Downloads/flutter_macos_3.0.5-stable.zip
3. Add the flutter tool to your path:
Add flutter tools to your path:
4.Run flutter doctor
Run the following command to see if any dependencies need to be installed to complete the setup (for verbose output, add the -v flag):
flutter doctor
This command checks your environment and displays a report to the terminal window.The Dart SDK is bundled with Flutter; there is no need to install Dart separately.Double-check the output for additional software you may need to install or other tasks to perform
After installing any missing dependencies, run the flutter doctor command again to verify that you have everything set up correctly.
flutter doctor --android-licenses
5. Configuring the IDE
Mac
use the following instructions for macos:
- Start Android Studio.
- Open Plugin Preferences (Preferences > Plugins v3.6.3.0 or later&
边栏推荐
猜你喜欢
Which interpolation is better for opencv to zoom in and out??
普通用户无法访问hgfs目录
【搜索专题】看完必会的BFS解决最短路问题攻略
Introduction to the Elastic Stack
JS new fun(); 类与实例 JS基于对象语言 只能通过书写构造函数充当类
HCIP (14)
Euler system (euleros): upgrade Mysql
leetcode6133. 分组的最大数量(中等)
初出茅庐的小李第113篇博客项目笔记之机智云智能浇花器实战(2)-基础Demo实现
TypeScript simplifies running ts-node
随机推荐
Summary of mobile page optimization in seconds
初出茅庐的小李第113篇博客项目笔记之机智云智能浇花器实战(2)-基础Demo实现
[Search topic] After reading the inevitable BFS solution to the shortest path problem
Replacing the Raspberry Pi Kernel
"Youth Pie 2": The new boyfriend stepped on two boats, and the relationship between Lin Miaomiao and Qian Sanyi warmed up
Lua introductory case of actual combat 1234 custom function and the standard library function
预言机简介
IDEA does not recognize the module (there is no blue square in the lower right corner of the module)
简单易用的任务队列-beanstalkd
测试
情人节浪漫3D照片墙【附源码】
How to write a high-quality digital good article recommendation
leetcode6132. 使数组中所有元素都等于零(简单,周赛)
Ordinary users cannot access HGFS directory
Elastic Stack的介绍
787. Merge Sort
Simple and easy to use task queue - beanstalkd
The 16th day of the special assault version of the sword offer
Soft Exam Senior System Architect Series: Basic Knowledge of Information Systems
从设备树(dtb格式数据)中解析出bootargs