当前位置:网站首页>Win10 set up a flutter environment to step on the pit diary
Win10 set up a flutter environment to step on the pit diary
2022-07-25 22:13:00 【Listen to the sea】
Recently win10 Up and down flutter Environmental Science ( Of course , I'm Android ), according to Flutter Chinese documents come step by step , Stepped on a lot of pits , But it finally came out . Record some pits here
Document links :Flutter Chinese document links
The final effect of running the default startup application is as follows

Follow the documentation steps , obtain Flutter SDK, to update path environment variable , No problem .
function flutter doctor. There's starting to be a problem , First of all, there's a cmdline-tools, The license needs to be accepted and so on , as follows .

Probably in Android Studio Install this in cmdline-tools, Then run the command to accept the license , Specifically in this article :flutter Environmental reporting error …
All in all , I am now running flutter doctor The situation is as follows ,Visual Studio Nothing , It has no effect for the time being .

existing Android Studio, Then I went to install Flutter plug-in unit , New projects , function , There are a lot of problems ..
First of all, it has been stuck Running Gradle task ‘assembleDebug’…, Then I went to the online blog , Change again build.gradle Agent in , Change again flutter.gradle, Also try to climb over the wall , Finally, it passed successfully , Then there are other mistakes , But no screenshots are reserved . It means to need JDK11 above , Let's go . It needs to be updated Android Studio, Check for updates , It seems that you can only uninstall and reload !
The new version is available on the official website Android Studio When , It's also very interesting , Download the following gadget , How to open it ? I thought I made a mistake . Finally put the suffix 15-windows Change it to exe That's all right. .. I'm basically speechless. .

function exe file , install ( The old version will be uninstalled first ),OK.
open AS,Run! Here comes a new question , It means No Android Platform 31

Then I'll change it to what I already have 28 Would you? , Not yet. , should 31, Then I can only go . open SDK Manager,Install!

Then it runs , Stick it again !

Although the process is rough , But it finally came out
边栏推荐
- Fill the whole square with the float property
- 字节跳动技术面都过了,结果还是被刷了,问HR原因竟是。。。
- Ansible+cronab batch deployment patrol
- Based on if nesting and function call
- 磁盘空间的三种分配方式
- win10搭建flutter环境踩坑日记
- Why does redis choose single thread?
- Redis memory elimination mechanism?
- ZigBee development board (nxpzigbee Development)
- SQL中in的用法 DQL 查询
猜你喜欢

在进行自动化测试,遇到验证码的问题,怎么办?

Visitor mode

2022 the latest software tests eight part essay. Whether you can offer depends on how you recite it

6-17漏洞利用-反序列化远程命令执行漏洞

Tfrecord write and read

jenkins+SVN配置

MySQL --- 子查询 - 列子查询(多行子查询)

After three years of software testing at Tencent, I was ruthlessly dismissed in July, trying to wake up my brother who was paddling

How to implement an app application to limit users' time use?

Whether the five distribution methods will produce internal fragments and external fragments
随机推荐
什么是类加载?类加载的过程?
面了个腾讯三年经验的测试员,让我见识到了真正的测试天花板
The file cannot be saved (what if the folder is damaged and cannot be read)
Redis是什么?简述它的优缺点
Usage of in in SQL DQL query
[Fantan] how to design a test platform?
这次龙蜥展区玩的新花样,看看是谁的 DNA 动了?
6-17漏洞利用-反序列化远程命令执行漏洞
Square root of X
聚名十年,说出你的故事,百万豪礼等你拿
MySQL - subquery - column subquery (multi row subquery)
Redis memory elimination mechanism?
Redis master-slave architecture lock failure problem (master-slave)
Some summary about function
What have I experienced to become a harder tester than development?
[fan Tan] in detail: lower control, upward management, upward drawing cake.
How to solve the problem of using the download Plug-in for export?
How to quickly build a picture server [easy to understand]
Minor GC 和 Full GC 有什么不同呢?
[test development methodology] experience of test development platform PK - choice