当前位置:网站首页>[shutter] setup of shutter development environment (supplement the latest information | the latest installation tutorial on August 25, 2021)
[shutter] setup of shutter development environment (supplement the latest information | the latest installation tutorial on August 25, 2021)
2022-07-03 02:28:00 【Programmer community】
List of articles
- Preface
- One 、Android Studio Environmental installation Flutter / Dart plug-in unit
- Two 、Flutter SDK download
- 3、 ... and 、 Set up Flutter environment variable
- 1、 Set up Flutter SDK environment variable
- 2、 Set up Flutter Warehouse address environment variable
- 3、 To configure Android SDK environment variable
- Four 、Flutter Environmental variable check
Preface
I wrote an article last year Flutter Installation blog , Update the installation content again this year ;
【Flutter】Flutter Development environment construction ( Android Studio Next Flutter / Dart Plug in installation | Flutter SDK install | Environment variable configuration | Development environment check ) : https://hanshuliang.blog.csdn.net/article/details/104825048 ;
Update what you need to download Flutter SDK Address , The country has been walled ;
The installation tutorial is old , Update the latest Flutter Installation tutorial ;
One 、Android Studio Environmental installation Flutter / Dart plug-in unit
Android Studio Install in Flutter and Dart The steps of the plug-in remain the same , Reference resources Android Studio Environmental installation Flutter / Dart plug-in unit chapter ;
1 . Flutter Plug in search installation :Android Studio menu bar -> File -> Settings -> Plugins , stay Marketplace Mid search Flutter plug-in unit , Click on Install Button installation ;

2 . Click on Install install : You will be prompted to rely on third-party plug-ins , need install Dart plug-in unit , Additional installation is required here Dart plug-in unit ;
3 . Accept the installation of third-party plug-ins :

4 . install Dart plug-in unit :
5 . Flutter / Dart plug-in unit installation is complete :

6 . restart Android Studio : After installation , restart Android Studio Plug in can take effect ;
Two 、Flutter SDK download
Get into Flutter Official website https://flutter.dev/ Of Flutter SDK The download page https://flutter.dev/docs/development/tools/sdk/releases , By the end of 2021 year 08 month 25 Japan The latest stable version is 7 month 2 Issue No.
2.2.3
2.2.3
2.2.3 edition , Download address https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_2.2.3-stable.zip ;
Development recommends using This
2.2.3
2.2.3
2.2.3 The stable version is based on this SDK ;

By the end of 2021 year 08 month 25 Japan , Current and current Beta The channel test version is 2.5.0-5.2.pre , Download address is https://storage.googleapis.com/flutter_infra_release/releases/beta/windows/flutter_windows_2.5.0-5.2.pre-beta.zip
By the end of 2021 year 08 month 25 Japan , The latest development channel test version is 2.5.0-6.0.pre , Download address is
https://storage.googleapis.com/flutter_infra_release/releases/dev/windows/flutter_windows_2.5.0-6.0.pre-dev.zip

3、 ... and 、 Set up Flutter environment variable
1、 Set up Flutter SDK environment variable
Download the flutter_windows_2.2.3-stable.zip decompression ;

To find the SDK Of bin Catalog
D:\001_Develop\010_Flutter\flutter_windows_2.2.3-stable\flutter\binPut the above bin The directory is configured into the environment variable of the system ;

2、 Set up Flutter Warehouse address environment variable
PUB_HOSTED_URL : https://pub.flutter-io.cnFLUTTER_STORAGE_BASE_URL : https://storage.flutter-io.cnTo configure FLUTTER_STORAGE_BASE_URL Variable :
Variable name (N):FLUTTER_STORAGE_BASE_URL A variable's value (V):https://storage.flutter-io.cn
To configure PUB_HOSTED_URL Variable :
Variable name (N):PUB_HOSTED_URL A variable's value (V):https://pub.flutter-io.cn
3、 To configure Android SDK environment variable
① To configure Android SDK route : First of all, configure ANDROID_HOME environment variable , The configuration content is Android SDK root directory ;
Variable name (N):ANDROID_HOME A variable's value (V):D:\001_Programs\001_Android\002_Sdk\Sdk
② To configure Android SDK The relevant environment variables of : Need to be in Path In the environment variables , To configure emulator , platform-tools , tools Address ; The formats are
%ANDROID_HOME%\emulator%ANDROID_HOME%\platform-tools%ANDROID_HOME%\tools
Four 、Flutter Environmental variable check
1 . Check environment : After the above operations are completed , perform flutter doctor command , Check Flutter development environment ; The first run of this command takes a long time 5 ~ 10 Minutes or more , Wait patiently ;
flutter doctor
2 . Agree to all license agreements : According to the above tips , perform flutter doctor --android-licenses command , Agree to all license agreements , You can pass the test ;
flutter doctor --android-licenses This is what prompted last year :
This is the content after this implementation :
Warning: Observed package id 'extras;intel;Hardware_Accelerated_Execution_Manager' in inconsistent location 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager-2' (Expected 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager')Warning: Already observed package id 'extras;intel;Hardware_Accelerated_Execution_Manager' in 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager'. Skipping duplicate at 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager-2'Warning: Observed package id 'extras;intel;Hardware_Accelerated_Execution_Manager' in inconsistent location 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager-2' (Expected 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager')Warning: Already observed package id 'extras;intel;Hardware_Accelerated_Execution_Manager' in 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager'. Skipping duplicate at 'D:\001_Develop\001_SDK\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager-2'All SDK package licenses accepted.======] 100% Computing updates...
边栏推荐
- Current situation and future of Web3 in various countries
- GBase 8c系统表-pg_class
- 面试八股文整理版
- Gbase 8C system table PG_ auth_ members
- My creation anniversary
- Coroutinecontext in kotlin
- Missing library while loading shared libraries: libisl so. 15: cannot open shared object file: No such file
- Gbase 8C trigger (III)
- 【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
- 定了,就选它
猜你喜欢

Detailed analysis of micro service component sentinel (hystrix)

定了,就选它

错误Invalid bound statement (not found): com.ruoyi.stock.mapper.StockDetailMapper.xxxx解决

udp接收队列以及多次初始化的测试

Restcloud ETL cross database data aggregation operation

Principle and application of database

Coroutinecontext in kotlin

通达OA v12流程中心

MATLAB小技巧(24)RBF,GRNN,PNN-神经网络

SPI机制
随机推荐
SPI mechanism
Summary of ES6 filter() array filtering methods
require.context
MUX VLAN Foundation
搭建私有云盘 cloudreve
Qt之QComboBox添加QCheckBox(下拉列表框插入复选框,含源码+注释)
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
[Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
我的创作纪念日
为什么会选择框架?选择什么样的框架
Job object of collaboration in kotlin
Iptables layer 4 forwarding
COM and cn
Servlet中数据传到JSP页面使用el表达式${}无法显示问题
Use go language to realize try{}catch{}finally
Kotlin middle process understanding and Practice (I)
Javescript 0.1 + 0.2 = = 0.3 problem
GBase 8c触发器(二)
Awk from entry to burial (1) awk first meeting
【教程】chrome關閉跨域策略cors、samesite,跨域帶上cookie