Open kq1231 opened 5 months ago
Cloning the github repo and referencing the local version in your pubspec.yaml instead of the server one seems to work, at least as a temporary solution until a new version is officially released. A simple guide on how it's done can be found here
I Was Facing same error cause kotlin-stdlib and kotlin-stdlib-jdk8 are conflicting in my case. So I Have Excluded Conflicting Transitive Dependencies Just Like This In my app/build.gradle and added below code worked for me.
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.jetbrains.kotlin' && details.requested.name == 'kotlin-stdlib-jdk8') {
details.useTarget 'org.jetbrains.kotlin:kotlin-stdlib:1.8.10'
}
}
}
Thanks @milan-r-dhameliya this worked for me.
After the package is installed using
flutter pub add workmanager
, the build process throws an error when compiling for Android.FAILURE: Build failed with an exception.
A snippet is shown below:
What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.
Exception: Gradle task assembleDebug failed with exit code 1