
flutter bug
安果移不动
精通Android,Swift,Flutter,Python,Php,按键精灵,易语言。曾为华为录制精品课程,拥有资质:按键精灵顶级证书;
产品秀:https://www.anguomob.com
B站:https://space.bilibili.com/482453235
展开
-
The overflowing RenderFlex has an orientation of Axis.horizontal. The edge of the RenderFlex that is
错误日志:Performing hot reload...Syncing files to device MI 8...Reloaded 9 of 1380 libraries in 963ms.======== Exception caught by rendering library =====================================================The following assertion was thrown during layout:原创 2021-08-06 10:12:11 · 1041 阅读 · 0 评论 -
Missing browser features DartPad requires localStorage to be enabled. For more information, Chrome
Chrome 无法使用 是因为Chrome默认屏蔽了Cookie可以通过点击这里即可使用chrome直接在官网调试Flutter原创 2021-08-04 23:15:46 · 282 阅读 · 0 评论 -
> java.lang.NullPointerException (no error message)
Flutter项目运行安卓项目报错解决步骤删除app/build目录重新编译即可原创 2021-07-14 17:54:59 · 411 阅读 · 1 评论 -
Android 项目报红
背景导入了FlutterBoost flutterBoost源码爆红。但是运行正常。。这说明本身是没有问题的。。分明是没有错误的 类都存在。但是就是爆红。。。。可以关闭项目后删除这两个文件夹后重新打开项目...原创 2021-06-22 13:43:36 · 463 阅读 · 0 评论 -
Flutter 中文乱码
修改下文件的编码格式就好了!或者删除文件重新创建复制原创 2021-06-18 13:55:30 · 2112 阅读 · 0 评论 -
Exception: Gradle build failed to produce an .apk file. It‘s likely that this file was generated und
ע: D:\project\flutter\anguo\flutter_anguo\flutter_plugin_anguo\android\src\main\kotlin\com\anguomob\flutter_plugin_anguo\ad\pangolin\UIUtils.javaʹ����δ�����????�ȫ�IJ�����ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣Exception: Gradle build failed to produce原创 2021-06-15 22:38:47 · 2551 阅读 · 1 评论 -
but it was already registered with this FlutterEngine
重复了。修改并删除一个修改后位置放上面即可原创 2021-06-05 16:06:40 · 376 阅读 · 0 评论 -
\build, but the tool couldn’t find it.
原因 因为 android做了多渠道打包。这个地方写一个渠道名称即可原创 2021-05-13 14:22:58 · 463 阅读 · 0 评论 -
Flutter FormatException: Unexpected character (at character 1)已解决
由于final responseBody = json.decode(response.body);response.body返回的不是json导致的。原创 2021-05-01 15:55:25 · 3755 阅读 · 1 评论 -
Flutter Context: Not a constant expression.
原因是因为你偷偷的使用了【const】关键字删除即可原创 2021-04-05 20:58:24 · 4074 阅读 · 2 评论 -
found for method showToast on channel PonnamKarthik/fluttertoast【已解决】
fluttertoast: ^8.0.3 if (_password != _resPassword) { Fluttertoast.showToast( msg: "两次密码不一致", toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.CENTER, ...原创 2021-03-31 15:20:11 · 629 阅读 · 0 评论 -
inheritFromWidgetOfExactType flutter2.0改版
context.inheritFromWidgetOfExactType(ConterProvider);替换为 context.dependOnInheritedWidgetOfExactType(aspect: ConterProvider);原创 2021-03-22 00:14:10 · 558 阅读 · 0 评论 -
> Could not resolve io.flutter:flutter_embedding_release:1.0.0-5d8bf811b3072390933d69f3e289a4bb67363
完整错误:==============================================================================2: Task failed with an exception.-----------* What went wrong:Could not resolve all files for configuration ':releaseCompileClasspath'.> Could not resolve io.flut原创 2021-03-16 10:50:57 · 1456 阅读 · 0 评论 -
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
λ flutter doctorDoctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, 2.0.2, on Microsoft Windows [Version 10.0.15063], locale zh-CN)[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) !..原创 2021-03-15 00:14:04 · 2606 阅读 · 1 评论 -
Flutter doctor Cannot find executable for sysctl.[已解决]
nhandled exception:Invalid argument(s): Cannot find executable for sysctl.#0 _getExecutable (package:process/src/interface/local_process_manager.dart:124:5)#1 LocalProcessManager.runSync (package:process/src/interface/local_process_manager.da.原创 2021-02-07 02:04:04 · 758 阅读 · 0 评论 -
【重要!】Android Studio 必须要设置的一个东西。不设置就有可能乱码
1、GBK通常指GB2312编码 只支持简体中文字2、utf通常指UTF-8,支持简体中文字、繁体中文字、英文、日文、韩文等语言(支持文字更广)3、通常国内使用utf-8和gb2312,看自己需求选择原创 2021-01-28 01:39:32 · 401 阅读 · 1 评论 -
Error connecting to the service protoco
错误:Error connecting to the service protocol: failed to connect tohttp://127.0.0.1:1024解决办法:手机和电脑连接在同一个网络原创 2021-01-27 23:36:48 · 550 阅读 · 0 评论 -
ailed to send crash report due to a network error: SocketException: OS Error: 信号灯超时时间已到 , errno = 12
项目中含有中文导致的Waiting for a connection from Flutter on MI 8...Failed to send crash report due to a network error: SocketException: OS Error: 信号灯超时时间已到, errno = 121, address = clients2.google.com, port = 53506Oops; flutter has exited unexpectedly: "F...原创 2021-01-27 02:14:50 · 3286 阅读 · 0 评论