Android Studio can't resolve Espresso 3.0.0
As the solution from comment is solving the problem I am adding it as an answer for others:
Be sure to add Google's maven link to main build.gradle
file:
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}