当前位置:网站首页>The nanny level tutorial of flutter environment configuration makes the doctor green to the end
The nanny level tutorial of flutter environment configuration makes the doctor green to the end
2022-07-02 10:35:00 【Juntong】
List of articles
Write it at the front
front end , It is a profession that covers a wide range ! It's not limited to web page , We also need to write some mobile phones app, that , We need to learn Flutter
perhaps React-Native
Technology .
- install
Flutter
It's hard work , I encountered a lot in the process of my own exploration bug, The process is painful- For example, after installation , But it doesn't work , Will these accumulate and affect the performance of the computer ? For programmers who pursue perfection , It is
Mental torture
- For example, after installation , But it doesn't work , Will these accumulate and affect the performance of the computer ? For programmers who pursue perfection , It is
- Now let's talk to Taylor about how to configure Flutter Environmental Science
Download Flutter Sdk
- Get into Flutter Official website Download
- Click on
Get started
Go to the next page- This button can be found in the upper right corner and under the homepage
- Click on
- Click on
macOS
Then go to the download pageSystem requirements
Write the hardware requirements- Below
Get the Flutter SDK
This is where we are going to download
- After the following , We build a new one
development
Then extract the folder into this folder
Update Path Variable
- Then run the following command
cd ~/development
export PATH="$PATH:`pwd`/flutter/bin"
echo $SHELL
Command can know which one you are using nowSHELL
- establish
.zshrc
filetouch .zshrc
- Then we use the command under the folder
command+shift+.
You can see the hidden files
- open
.zshrc
file , Editingexport PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"
[PATH_OF_FLUTTER_GIT_DIRECTORY]
Expressflutter/bin
File directory for
- therefore , Maybe the order will be like this
export PATH="$PATH:/User/41/development/flutter/bin
- Be careful : Don't copy the above commands directly , Use your own directory to replace !!!
- Use the command to run
rc
file- Online means
source $HOME/.zshrc
- I use
source $HOME/development/.zshrc
Successfully running
- Online means
- Then use
Flutter
, Successful operation means SDK There is no problem
- function
flutter doctor
What's the problem with coming to Kangkang , Oh my god , be startled at
- There are four big mistakes
cmdline-tools
Android license status unknown
Xcode
Android Studio
Install Xcode
- stay
App Store
Search forXcode
Just download and install directly- Is that all ? It's naive
- After downloading, use
flutter doctor
Still haveXcode
The error of
- Run the following command to solve this problem
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
- Now?
Xcode
The problem is officially solved
Install Android Studio
- Go first android studio Official website download sdk
- Click on
download Android Studio
- Click on
Download Android Studio
- There is a document for you to see , Point has been read , Then download the corresponding version
- The chip model can be found in about this machine
- Click on
- Install into the application , Only in this way can we solve doctor The problem of
- New version of the
Android Studio
Long like this- We are
More Action
Can be found inSDK Manager
- In this, we can solve
cmdline-tools
Of bug - Then select the following sdk then apply Download , Last point ok That's all right.
- We are
Accept Android Licenses
- This question is based on
flutter doctor
Run the following command at the prompt of flutter doctor --android-licenses
One green in the end
- Then we run... Again
flutter doctor
- bug, There is no the !
边栏推荐
- Blender多鏡頭(多機比特)切換
- MPLS experiment
- 【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
- Centos7 one click compilation and installation of PHP script
- flume 190 INSTALL
- The primary market project galaxy will conduct public offering on coinlist on February 17
- Notes de base sur les plans illusoires d'IA (triés en 10 000 mots)
- Flutter环境配置保姆级教程,让doctor一绿到底
- Flink submitter
- Understand the composition of building energy-saving system
猜你喜欢
[pit avoidance guide] pit encountered using ugui: the text component cannot indent the first line by two spaces
How to judge the quality of primary market projects when the market is depressed?
【虚幻4】UMG组件的简介与使用(更新中...)
Blender ocean production
使用Windbg静态分析dump文件(实战经验总结)
Edge computing accelerates live video scenes: clearer, smoother, and more real-time
Flink实时计算topN热榜
pytest学习--base
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
Blender模型导入ue、碰撞设置
随机推荐
Postman -- use
This article takes you to learn in detail what is fiber to home FTTH
VLAN experiment
使用Windbg静态分析dump文件(实战经验总结)
【教程】如何让VisualStudio的HelpViewer帮助文档独立运行
Test -- Summary of interview questions
Blender camera surround motion, animation rendering, video synthesis
Vscode auto format
[Fantasy 4] introduction and use of UMG components (under update...)
2.14 is it Valentine's day or Valentine's day when the mainstream market continues to fluctuate and wait for changes?
[unity3d] cannot correctly obtain the attribute value of recttransform, resulting in calculation error
【leetcode】33. Search rotation sort array
合并有序数列
allure--常用配置项
[Fantasy 4] the transformation from U3D to UE4
Network communication learning
ue虚幻引擎程序化植物生成器设置——如何快速生成大片森林
The primary market project galaxy will conduct public offering on coinlist on February 17
Vscode set JSON file to format automatically after saving
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View