Failed to resolve: recyclerview-v7
Open File
Failed to resolve: espresso-idling-resource
Open File
Failed to resolve: espresso-contrib
Open File
Failed to resolve: espresso-core
Open File
@DharitParmar I was running on the same issue. Try below code in your gradle file.
repositories {
google()
jcenter()
}
allprojects {
repositories {
google()
jcenter()
}
}
Worked when i put google() in first place and then jcenter(). @dino9
@dino9 @pramodit Same here worked with google() first and then jcenter().
Why is it so? What is the reason?
Probably because it has to download them from the google repository for those espresso dependencies.
By doing so we are forcing the gradle to first download them first and the go to jcenter for the rest of the download as internally it has a dependency with appcompat-v7 and support libraries of android @DharitParmar
are you Chinese or English?Cause i think ther're Chinese who use the github,so problem is coming ,why do you use English to discuss with others yet we're Chinese
Fixed in mvp branches
Most helpful comment
@DharitParmar I was running on the same issue. Try below code in your gradle file.