当前位置:网站首页>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
边栏推荐
- YUV420 yuv420sp image format "recommended collection"
- H5 lucky scratch lottery free official account + direct operation
- After three years of software testing at Tencent, I was ruthlessly dismissed in July, trying to wake up my brother who was paddling
- What have I experienced to become a harder tester than development?
- TS:typora代码片段缩进显示异常(已解决)-2022.7.24
- 完啦,上班三个月,变秃了
- kubernetes之VictoriaMetrics单节点
- JSP初识
- 在腾讯干软件测试3年,7月无情被辞,想给划水的兄弟提个醒...
- Usage of in in SQL DQL query
猜你喜欢

Wechat card issuing applet source code - automatic card issuing applet source code - with flow main function

Fill the whole square with the float property

Children's programming electronic society graphical programming level examination scratch level 1 real problem analysis (judgment question) June 2022

Usage of in in SQL DQL query

聚名十年,说出你的故事,百万豪礼等你拿

Victoriametrics single node of kubernetes

这次龙蜥展区玩的新花样,看看是谁的 DNA 动了?

Selenium basic use and use selenium to capture the recruitment information of a website (continuously updating)

完啦,上班三个月,变秃了

在腾讯干软件测试3年,7月无情被辞,想给划水的兄弟提个醒...
随机推荐
How to solve the problem of using the download Plug-in for export?
Summary of function test points of wechat sending circle of friends on mobile terminal
关于接口测试你想知道的都在这儿了
在腾讯干软件测试3年,7月无情被辞,想给划水的兄弟提个醒...
如何实现一个App应用程序,限制用户时间使用?
【C语法】void*浅说
Dovecot set mailbox quota
Unity performance optimization direction
『SignalR』.NET使用 SignalR 进行实时通信初体验
Flex layout
手机端微信发朋友圈功能测试点总结
D3.js learning
What should I do if I encounter the problem of verification code during automatic testing?
El expression improves JSP
【汇编语言01】基础知识
VIM usage record
面了个腾讯三年经验的测试员,让我见识到了真正的测试天花板
Leetcode 106. construct binary tree from middle order and post order traversal sequence
Why does redis choose single thread?
Acwing 866. determining prime numbers by trial division