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

时间:2021-06-01 07:40:50

标签: flutter flutter-build

我的应用程序在调试模式下成功构建并且运行良好,但是在使用 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)

0 个答案:

没有答案