当前位置:网站首页>[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...
边栏推荐
- Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???
- GBase 8c系统表-pg_class
- GBase 8c系统表pg_database
- 面试项目技术栈总结
- 各国Web3现状与未来
- Unrecognized SSL message, plaintext connection?
- udp接收队列以及多次初始化的测试
- SPI机制
- Leetcode (540) -- a single element in an ordered array
- 搭建私有云盘 cloudreve
猜你喜欢

Restcloud ETL cross database data aggregation operation

Basic operation of binary tree (C language version)

Producer consumer model based on thread pool (including blocking queue)

怎么将yolov5中的PANet层改为BiFPN
![[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数](/img/06/ab333a4752de27eae2dd937cf579e2.png)
[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数
![[shutter] pull the navigation bar sideways (drawer component | pageview component)](/img/6f/dfc9dae5f890125d0cebdb2a0f4638.gif)
[shutter] pull the navigation bar sideways (drawer component | pageview component)

Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)

oauth2.0鉴权,登录访问 “/oauth/token”,请求头Authorization(basicToken)如何取值???

Tongda OA V12 process center

Tongda OA homepage portal workbench
随机推荐
通达OA 首页门户工作台
Gbase 8C system table PG_ constraint
Return a tree structure data
【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
Gbase 8C function / stored procedure parameters (I)
错误Invalid bound statement (not found): com.ruoyi.stock.mapper.StockDetailMapper.xxxx解决
《MATLAB 神经网络43个案例分析》:第43章 神经网络高效编程技巧——基于MATLAB R2012b新版本特性的探讨
Leetcode (540) -- a single element in an ordered array
Iptables layer 4 forwarding
[Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
Current situation and future of Web3 in various countries
各国Web3现状与未来
Gbase 8C system table PG_ database
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
5.文件操作
awk从入门到入土(2)认识awk内置变量和变量的使用
Stm32f407 ------- IIC communication protocol
Kotlin middle process understanding and Practice (II)