react-native-beacons-manager
react-native-beacons-manager copied to clipboard
Execution failed for task ':app:checkDebugDuplicateClasses'.
Version
1.0.1
Platform
Android
OS version
android 7.0...
Steps to reproduce
- run-android
Expected behavior
What should happen
Actual behavior
Execution failed for task ':app:checkDebugDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class org.intellij.lang.annotations.Identifier found in modules jetified-annotations-12.0 (com.intellij:annotations:12.0) and jetified-annotations-13.0 (org.jetbrains:annotations:13.0)
I solved this issue by adding a line inside android{} in the APP level build.gradle to exclude the module.
android{ ...... ...... configurations { implementation.exclude group: 'org.jetbrains', module: 'annotations' } }