随笔分类 -  Flutter

摘要:问题: The current Gradle version 5.6.2 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.1.1 or newer, or the previous version of the 阅读全文
posted @ 2022-03-24 21:51 深圳大漠 阅读(3123) 评论(0) 推荐(0) 编辑
摘要:错误: W/FlutterActivityAndFragmentDelegate(10811): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-mi 阅读全文
posted @ 2022-02-01 17:36 深圳大漠 阅读(292) 评论(0) 推荐(0) 编辑
摘要:网上找了N个方法,全部没用,最后发现是在这里设置才有效。 记下来,免得下次折腾。 阅读全文
posted @ 2021-10-13 18:10 深圳大漠 阅读(869) 评论(0) 推荐(0) 编辑
摘要:flutter 提示: analysis_options.yaml ignore: prefer_const_constructors 解决: 把 analysis_options.yaml 删除,或者改名即可。 阅读全文
posted @ 2021-10-11 11:24 深圳大漠 阅读(311) 评论(0) 推荐(0) 编辑
摘要:Flutter的Dio报错: Connection closed before full header was received 可以检查一下是不是端口有问题。 同事把端口设置为1433,就报告这个错误。换个端口就好了。 1433是SqlServer的端口,因此有是可能APP连接到别人的应用服务器上 阅读全文
posted @ 2020-04-24 09:38 深圳大漠 阅读(3378) 评论(0) 推荐(0) 编辑
摘要:FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':shared_preferences:verifyReleaseResources'.> A failure occurred 阅读全文
posted @ 2020-02-18 01:40 深圳大漠 阅读(3652) 评论(0) 推荐(0) 编辑
摘要:错误:Target of URI doesn't exist: package:fultter/material.dart 原因:flutter版本不匹配。flutter升级到了最新版本,而项目引用的是老版本。 解决:把项目引用的flutter升级到新版本。 错误:Unable to locate 阅读全文
posted @ 2018-10-12 09:51 深圳大漠 阅读(14264) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示