当前位置:网站首页>[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...
边栏推荐
- CFdiv2-Fixed Point Guessing-(区间答案二分)
- Leetcode 183 Customers who never order (2022.07.02)
- [Yu Yue education] reference materials of love psychology of China University of mining and technology
- Gbase 8C system table PG_ attribute
- Gbase 8C function / stored procedure definition
- awk从入门到入土(2)认识awk内置变量和变量的使用
- GBase 8c系统表-pg_authid
- Kotlin middle process understanding and Practice (I)
- [tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
- GBase 8c系统表-pg_amproc
猜你喜欢

4. Classes and objects

Pytorch convolution network regularization dropblock

内存池(内核角度理解new开辟空间的过程)

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

Basic operation of binary tree (C language version)

How to change the panet layer in yolov5 to bifpn

定了,就选它

通达OA 首页门户工作台

Use go language to realize try{}catch{}finally

SPI mechanism
随机推荐
GBase 8c系统表-pg_attribute
Solution for processing overtime orders (Overtime unpaid)
MATLAB小技巧(24)RBF,GRNN,PNN-神经网络
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
Word word word
Cvpr2022 remove rain and fog
Kotlin middle process understanding and Practice (I)
Gbase 8C system table PG_ authid
The sandbox explains its vision for the meta universe platform
UDP receive queue and multiple initialization test
Gbase 8C trigger (II)
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
《MATLAB 神经网络43个案例分析》:第43章 神经网络高效编程技巧——基于MATLAB R2012b新版本特性的探讨
8 free, HD, copyright free video material download websites are recommended
Gbase 8C system table PG_ auth_ members
Restcloud ETL cross database data aggregation operation
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???