当前位置:网站首页>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 !
边栏推荐
猜你喜欢
随机推荐
Remember the use of add method once
Delivery mode design of Spartacus UI of SAP e-commerce cloud
Nonlinear optimization: steepest descent method, Newton method, Gauss Newton method, Levenberg Marquardt method
Sum the two numbers to find the target value
Pytest-- test report allure configuration
合并有序数列
互联网快讯:腾讯会议应用市场正式上线;Soul赴港递交上市申请书
flume 190 INSTALL
Rapid prototyping
pytest框架实现前后置
Commutateur Multi - lentilles Blender
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
【Unity3D】无法正确获取RectTransform的属性值导致计算出错
Aiphacode is not a substitute for programmers, but a tool for developers
测试--面试题总结
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
Test -- Summary of interview questions
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
07数据导入Sqoop
KS009基于SSH实现宠物管理系统









