Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':app:checkDebugDuplicateClasses'. #243

Open
hodoli04 opened this issue Jun 27, 2022 · 1 comment
Open

Execution failed for task ':app:checkDebugDuplicateClasses'. #243

hodoli04 opened this issue Jun 27, 2022 · 1 comment

Comments

@hodoli04
Copy link

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
Copy link
Author

hodoli04 commented Jun 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant