为什么颤振调试有效但不发布?

问题描述

我的应用程序在调试模式下成功构建并且运行良好,但是在使用 Flutter run --release 时会出现一些问题。


* What went wrong:
Task 'assembleAarRelease' not found in root project 'Flutter_plugin_android_lifecycle'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run w
ith --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD Failed in 1s


Exception: The plugin Flutter_plugin_android_lifecycle Could not be built due to the issue above.

我的颤振版本是:

Framework • revision f04b3d917f (7 months ago) • 2020-11-07 16:09:02 -0500
Engine • revision 0f7cdca65f
Tools • Dart 2.12.0 (build 2.12.0-27.0.dev)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)