小编tas*_*fle的帖子

Flutter build.gradle 错误“构建因异常而失败。”

我尝试构建我的 Flutter 应用程序(捆绑包)。
但我有一些问题。

这是我的错误代码:

-Error message
FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\user\IdeaProjects\relayWriting\android\app\build.gradle' line: 42

* What went wrong:
A problem occurred evaluating project ':app'.
> No signature of method: build_c3l4fjlvmd1tu5wmv81djoazh.android() is applicable for argument types: (build_c3l4fjlvmd1tu5wmv81djoazh$_run_closure2)
values: [build_c3l4fjlvmd1tu5wmv81djoazh$_run_closure2@7e4ad7b4]

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help …
Run Code Online (Sandbox Code Playgroud)

android build intellij-idea gradle flutter

7
推荐指数
1
解决办法
4万
查看次数

标签 统计

android ×1

build ×1

flutter ×1

gradle ×1

intellij-idea ×1