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