当前位置:网站首页>[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...
边栏推荐
- 定了,就选它
- 簡單理解svg
- [shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)
- Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???
- Thread safe singleton mode
- The use of Flink CDC mongodb and the implementation of Flink SQL parsing complex nested JSON data in monggo
- 【教程】chrome關閉跨域策略cors、samesite,跨域帶上cookie
- Qt之QComboBox添加QCheckBox(下拉列表框插入复选框,含源码+注释)
- Gbase 8C system table PG_ constraint
- Gbase 8C system table PG_ amop
猜你喜欢

where 1=1 是什么意思

通达OA v12流程中心

UDP receive queue and multiple initialization test

PyTorch 卷积网络正则化 DropBlock

Tongda OA V12 process center

stm32F407-------DMA

RestCloud ETL 跨库数据聚合运算

定了,就选它

Detailed introduction to the deployment and usage of the Nacos registry
![[shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)](/img/6e/67bc187a89fb9125856c78c89f7bfb.gif)
[shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)
随机推荐
awk从入门到入土(0)awk概述
Use go language to realize try{}catch{}finally
Detailed analysis of micro service component sentinel (hystrix)
Mathematical statistics -- Sampling and sampling distribution
Stm32f407 ------- IIC communication protocol
Leetcode (540) -- a single element in an ordered array
【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
线程安全的单例模式
Hcip137-147 title + analysis
我的创作纪念日
各国Web3现状与未来
错误Invalid bound statement (not found): com.ruoyi.stock.mapper.StockDetailMapper.xxxx解决
简单理解svg
oauth2.0鉴权,登录访问 “/oauth/token”,请求头Authorization(basicToken)如何取值???
CFdiv2-Fixed Point Guessing-(區間答案二分)
Gbase 8C trigger (III)
GBase 8c系统表pg_database
COM and cn
Awk from introduction to earth (0) overview of awk
Principle and application of database