Robolectric 3.0-rc2 Hamcrest-core conflict
问题 Hello I'm trying to get ActionBar Activity UnitTests going and I'm using Robolectirc-RC2 , but when i try to sync my android studio I'm getting the following error/warning. Warning:Conflict with dependency org.hamcrest:hamcrest-core . Resolved versions for app and test app differ. Any idea how to resolve it? repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots" } mavenLocal() mavenCentral() } dependencies { // Unit testing dependencies unitTestCompile('junit