I came across this exception while adding espresso to an android project. I already try the link that comes with this exception
**Conflict with dependency \'
Rebuild project solved the issue.
In Android studio in the toolbar.. Build>Rebuild Project.