当前位置:网站首页>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
FlutterIt'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 startedGo to the next page- This button can be found in the upper right corner and under the homepage
- Click on

- Click on
macOSThen go to the download pageSystem requirementsWrite the hardware requirements- Below
Get the Flutter SDKThis is where we are going to download
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-w45tXSAX-1656421681782)(https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/6f703ef443b746b8b088dcb36afa50ed~tplv-k3u1fbpfcp-watermark.image?)]](/img/67/69e6ac6c5b741c81090ea105aead06.jpg)
- After the following , We build a new one
developmentThen extract the folder into this folder

Update Path Variable
- Then run the following command
cd ~/development
export PATH="$PATH:`pwd`/flutter/bin"
echo $SHELLCommand can know which one you are using nowSHELL- establish
.zshrcfiletouch .zshrc- Then we use the command under the folder
command+shift+.You can see the hidden files
- open
.zshrcfile , Editingexport PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"[PATH_OF_FLUTTER_GIT_DIRECTORY]Expressflutter/binFile 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
rcfile- Online means
source $HOME/.zshrc - I use
source $HOME/development/.zshrcSuccessfully running
- Online means
- Then use
Flutter, Successful operation means SDK There is no problem
- function
flutter doctorWhat's the problem with coming to Kangkang , Oh my god , be startled at

- There are four big mistakes
cmdline-toolsAndroid license status unknownXcodeAndroid Studio
Install Xcode
- stay
App StoreSearch forXcodeJust download and install directly- Is that all ? It's naive
- After downloading, use
flutter doctorStill haveXcodeThe error of
- Run the following command to solve this problem
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
- Now?
XcodeThe 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 StudioLong like this- We are
More ActionCan be found inSDK Manager - In this, we can solve
cmdline-toolsOf 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 doctorRun 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 !
边栏推荐
- Brief analysis of edgedb architecture
- 01安装虚拟机
- Flink calculates topn hot list in real time
- Blender海洋制作
- Project practice, redis cluster technology learning (10)
- Nonlinear optimization: establishment of slam model
- VLAN experiment
- Pytest framework implements pre post
- Blender camera surround motion, animation rendering, video synthesis
- Blender体积雾
猜你喜欢

Understand the composition of building energy-saving system

Vscode set JSON file to format automatically after saving

虚幻AI蓝图基础笔记(万字整理)

JS reduce accumulator

allure--常用配置项

Following nym, the new project Galaxy token announced by coinlist is gal

Blender volume fog

UE illusory engine programmed plant generator setup -- how to quickly generate large forests

MongoDB-快速上手MongoDB命令行的一些简单操作

01安装虚拟机
随机推荐
VLAN experiment
Postman--使用
Blender多鏡頭(多機比特)切換
Importing tables from sqoop
Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
MPLS experiment
Blender volume fog
Postman -- use
Centos7 one click compilation and installation of PHP script
UE illusory engine programmed plant generator setup -- how to quickly generate large forests
JS reduce accumulator
Determine whether there are duplicate elements in the array
02-taildir source
Pywin32打开指定窗口
Aiphacode is not a substitute for programmers, but a tool for developers
07数据导入Sqoop
Remember the use of add method once
Flink submitter