Duplicate class org.hamcrest.BaseDescription found in the following modules,How to resolve?
Asked Answered
E

0

8

Duplicate class org.hamcrest.BaseDescription found in the following modules: hamcrest-all-1.3.jar (org.hamcrest:hamcrest-all:1.3), hamcrest-core-1.3.jar (org.hamcrest:hamcrest-core:1.3) and mockito-all-2.0.2-beta.jar (org.mockito:mockito-all:2.0.2-beta)

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.core:core-ktx:1.0.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'org.mockito:mockito-all:2.0.2-beta'
androidTestImplementation "org.hamcrest:hamcrest-all:1.3"
androidTestImplementation 'androidx.test:core:1.1.0'
androidTestImplementation 'androidx.test:rules:1.1.1'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
Ertha answered 29/4, 2019 at 2:5 Comment(1)
did you already check #55910304 or #56403073 ?Aparri

© 2022 - 2024 — McMap. All rights reserved.