Skip to content

error with duplicated classes #13

Description

@FemixGH

image
I am beginner in it, can you help
how how to avoid this problem?

I implemented this file but have duplicate class error and other mistakes:
Caused by: com.android.builder.merge.DuplicateRelativeFileException: 2 files found with path 'org/apache/lucene/analysis/id/stopwords.txt'.
Caused by: com.android.builder.merge.DuplicateRelativeFileException: 2 files found with path 'org/apache/lucene/analysis/id/stopwords.txt' from inputs:
Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
Caused by: java.lang.RuntimeException: Duplicate class com.google.common.annotations.Beta found in modules jetified-VaderSentimentJava-v1.1 (com.github.apanimesh061:VaderSentimentJava:v1.1.1) and jetified-guava-21.0 (com.google.guava:guava:21.0)

Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
fied-VaderSentimentJava-v1.1 (com.github.apanimesh061:VaderSentimentJava:v1.1.1) and jetified-guava-21.0 (com.google.guava:guava:21.0)
Duplicate class com.google.common.base.CharMatcher$JavaDigit found in modules jetified-VaderSentimentJava-v1.1 (com.github.apanimesh061:VaderSentimentJava:v1.1.1) and jetified-guava-21.0 (com.google.guava:guava:21.0)
Duplicate class com.google.common.base.CharMatcher$JavaIsoControl found in modules jetified-VaderSentimentJava-v1.1 (com.github.apanimesh061:VaderSentimentJava:v1.1.1) and jetified-guava-21.0 (com.google.guava:guava:21.0)
Duplicate class com.google.common.base.CharMatcher$JavaLetter found in modules jetified-VaderSentimentJava-v1.1 (com.github.apanimesh061:VaderSentimentJava:v1.1.1) and jetified-guava-21.0 (com.google.guava:guava:21.0).....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions