flutter .g文件生成不了
Posted zhujiabin
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了flutter .g文件生成不了相关的知识,希望对你有一定的参考价值。
[SEVERE] Conflicting outputs were detected and the build is unable to prompt for permission to remove them. These outputs must be removed manually or the build can be run with `--delete-conflicting-outputs`. The outputs are: lib/models/base_action_list_model.g.dart
运行:
flutter packages pub run build_runner build --delete-conflicting-outputs
以上是关于flutter .g文件生成不了的主要内容,如果未能解决你的问题,请参考以下文章
Flutter JSON 序列化 - 不生成 *.g.dart 文件
错误记录Flutter 混合开发获取 BinaryMessenger 报错 ( FlutterActivityAndFragmentDelegate.getFlutterEngine() )(代码片段