I am adding Espresso to my project in Android Studio. I have installed the Support Repository and in fact have already been using pieces of it. Then I added these dependenci
My solution was easier and simpler, I just went to Android Studio File>Invalidate Caches/Restart and it worked properly, seems that android studio is keeping some cache that will not clean with Rebuild/Clean.