颤振的工作管理器插件无法构建

时间:2020-12-20 11:02:12

标签: android flutter kotlin flutter-dependencies

我正在使用 workmanager: ^0.2.3 并且我一直试图让这个库工作,但目前似乎没有任何工作。

控制台..

Building plugin url_launcher...
✓ Built build/app/outputs/repo.
Building plugin workmanager...
e: /home/james/.pub-cache/hosted/pub.dartlang.org/workmanager-0.2.3/android/src/main/kotlin/be/tramckrijte/workmanager/DebugHelper.kt: (7, 22): Unresolved reference: app
e: /home/james/.pub-cache/hosted/pub.dartlang.org/workmanager-0.2.3/android/src/main/kotlin/be/tramckrijte/workmanager/DebugHelper.kt: (81, 21): Unresolved reference: NotificationCompat
e: /home/james/.pub-cache/hosted/pub.dartlang.org/workmanager-0.2.3/android/src/main/kotlin/be/tramckrijte/workmanager/DebugHelper.kt: (85, 37): Unresolved reference: NotificationCompat

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseKotlin'.
> Compilation error. See log for more details

* 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 at https://help.gradle.org

BUILD FAILED in 52s
2

Exception: The plugin workmanager could not be built due to the issue above.

如果您想了解更多,请随时询问。谢谢。

0 个答案:

没有答案
相关问题