当前位置:网站首页>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 !
边栏推荐
- Remember a simple Oracle offline data migration to tidb process
- Importing tables from sqoop
- 02-taildir source
- SAP Spartacus express checkout design
- [visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
- Database -- acid of transaction -- introduction / explanation
- VLAN experiment
- [200 Shengxin literatures] 95 multiomics exploration TNBC
- 【虚幻4】UMG组件的简介与使用(更新中...)
- Flink实时计算topN热榜
猜你喜欢
【避坑指南】使用UGUI遇到的坑:Text组件无法首行缩进两格
pytest--之测试报告allure配置
虚幻AI蓝图基础笔记(万字整理)
Considerations for Apache deploying static web page projects
2021-10-02
Unreal material editor foundation - how to connect a basic material
allure--常用配置项
Solutions to a series of problems in sqoop job creation
Post disaster reconstruction -- Floyd thought
This article takes you to learn in detail what is fiber to home FTTH
随机推荐
Project practice, redis cluster technology learning (12)
【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
Pywin32打开指定窗口
Flutter——Canvas自定义曲线图
What is the relationship between realizing page watermarking and mutationobserver?
webUI自动化学习
[Fantasy 4] the transformation from U3D to UE4
stm32和电机开发(上位系统)
pytest学习--base
Blender stone carving
STM32 and motor development (upper system)
How much is it to develop a system software in Beijing, and what funds are needed to develop the software
Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
Centos7 one click compilation and installation of PHP script
Solutions to a series of problems in sqoop job creation
Flink实时计算topN热榜
Introduction and Principle notes of UE4 material
Blender ocean production
Unreal material editor foundation - how to connect a basic material
Pycaret | a few lines of code to solve machine learning modeling