You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a project where I need to create an extension that uses flutter_local_notifications along with firebase_messaging. For local_notifications to work, it asks me to activate the core library desugaring in build.gradle. I know how to do it in flutter, but I have no idea how to do it in flet.
Code sample
No response
Error message
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
> A failure occurred while executing
com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> An issue was found when checking AAR metadata:
1. Dependency ':flutter_local_notifications' requires core library desugaring to be
enabled
for :app.
See https://developer.android.com/studio/write/java8-support.html 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 1m 4s
Gradle task assembleRelease failed with exit code 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I'm working on a project where I need to create an extension that uses flutter_local_notifications along with firebase_messaging. For local_notifications to work, it asks me to activate the core library desugaring in build.gradle. I know how to do it in flutter, but I have no idea how to do it in flet.
Code sample
No response
Error message
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:checkReleaseAarMetadata'. > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction > An issue was found when checking AAR metadata: 1. Dependency ':flutter_local_notifications' requires core library desugaring to be enabled for :app. See https://developer.android.com/studio/write/java8-support.html 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 1m 4s Gradle task assembleRelease failed with exit code 1------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions