当前位置:网站首页>Flutter compilation fails
Flutter compilation fails
2022-07-26 08:26:00 【Peanut - Summer】
1,Error: The method 'getNativeImage' isn't defined for the class 'PaintingBinding'. - 'PaintingBinding' is from 'package:flutter/src/painting/binding.dart'
This is a third-party package reference flutter Class methods of engine , Switch flutter Engine version is ok . And then in AndroidStudio Configuration in configuration Flutter Of SDk route , Check Dart Is the path corresponding .
2,Gradle build failed to produce an .apk file. It's likely that this file was generated under <app_root>\build, but the tool couldn't find it
This is generation apk Compile time error , as a result of 1:build flavor No package name for . 2,gradle Of sdk 28 Change to 27 . 3,gradle Change the package name of to lowercase . 4, There is a problem with the compilation environment ,flutter clean And put Android The generated garbage files of have been deleted . again build
3,git Download is slow .ERROR: RPC FAILED; CURL 56 LIBRESSL SSL_READ: SSL_ERROR_SYSCALL, ERRNO 54
Check flutter Environment 1,path Is there a mirror . 2, Project clean up flutter clean Android Delete the junk file . 3,vpn Of SDN Reset , Repair .
4,TextEditingController Can't change TextEditingController The content of , It could be yours TextEditingController The writing position is wrong , It should be instantiated once . If in stf In the document , Then don't directly text Assign the initial value , use value assignment . use clean Empty .
边栏推荐
猜你喜欢

有点牛逼,一个月13万+

Burp suite Chapter 6 how to use burp spider

22-07-16 personal training match 3 competition experience

How WPS sets page headers page by page

Burp suite Chapter 9 how to use burp repeater
![[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)](/img/25/475c91d7e673fda3930e5a69be0f28.png)
[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)
分享高压超低噪声LDO测试结果(High Voltage Ultra-low Noise LDO)

Prefix infix suffix expression (written conversion)

Burp suite Chapter 3 how to use burp suite agent

Software engineering -- dental clinic -- demand acquisition
随机推荐
苹果强硬新规:用第三方支付也要抽成,开发者亏大了!
Exam summary on June 30, 2022
随机分布学习笔记
Bee guitar score high octave and low octave
Vscode utility shortcut
sed作业
OSPF总结
Burp suite Chapter 6 how to use burp spider
A little awesome, 130000 a month+
[endnote] compilation of document types and abbreviations of document types
Prefix infix suffix expression (written conversion)
mysql函数汇总之日期和时间函数
Use of room database in kotlin
Burp Suite-第一章 Burp Suite 安装和环境配置
JS tool function Encyclopedia
If Yi Lijing spits about programmers
import error: ‘Icon‘ is not exported from ‘antd‘. Import icon error
B title: razlika priority queue approach
vim跨行匹配搜索
Beauty naked chat for a while, naked chat over the crematorium!