react-native-beacons-manager icon indicating copy to clipboard operation
react-native-beacons-manager copied to clipboard

Execution failed for task ':app:checkDebugDuplicateClasses'.

Open hodoli04 opened this issue 2 years ago • 1 comments

Version

1.0.1

Platform

Android

OS version

android 7.0...

Steps to reproduce

  1. 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)

hodoli04 avatar Jun 27 '22 03:06 hodoli04

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' } }

hodoli04 avatar Jun 27 '22 03:06 hodoli04