当前位置:网站首页>[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\bin
Put 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.cn
To 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...
边栏推荐
- 面试项目技术栈总结
- Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
- stm32F407-------ADC
- [Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数
- Unrecognized SSL message, plaintext connection?
- Use go language to realize try{}catch{}finally
- 线程安全的单例模式
- Job object of collaboration in kotlin
- Machine learning process and method
- PyTorch 卷积网络正则化 DropBlock
猜你喜欢
通达OA 首页门户工作台
easyExcel
Return a tree structure data
Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
Detailed introduction to the usage of Nacos configuration center
Basic operation of binary tree (C language version)
8 free, HD, copyright free video material download websites are recommended
《MATLAB 神经网络43个案例分析》:第43章 神经网络高效编程技巧——基于MATLAB R2012b新版本特性的探讨
基于线程池的生产者消费者模型(含阻塞队列)
创建+注册 子应用_定义路由,全局路由与子路由
随机推荐
GBase 8c系统表-pg_authid
[hcia]no.15 communication between VLANs
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
Machine learning process and method
[shutter] bottom navigation bar page frame (bottomnavigationbar bottom navigation bar | pageview sliding page | bottom navigation and sliding page associated operation)
Leetcode 183 Customers who never order (2022.07.02)
[Yu Yue education] China Ocean University job search OMG reference
【翻译】具有集中控制平面的现代应用负载平衡
Gbase 8C system table PG_ authid
GBase 8c系统表-pg_aggregate
Gbase 8C system table PG_ cast
iptables 4层转发
Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
QT qcombobox add qccheckbox (drop-down list box insert check box, including source code + comments)
The sandbox explains its vision for the meta universe platform
Cfdiv2 Fixed Point Guessing - (2 points for Interval answer)
require.context
Gbase 8C system table PG_ auth_ members
4. Classes and objects
Detailed analysis of micro service component sentinel (hystrix)