Mike Drabic

Results 3 comments of Mike Drabic

To get past the `NoClassDefFoundError` for the generated dagger classes, I had to exclude the `javax.inject` group from the espresso 2.0 dependency. ``` androidTestCompile ('com.android.support.test.espresso:espresso-core:2.0') { exclude group: 'javax.inject' }...

I think you have the right idea about their being a conflict with the Hamcrest dependency. ``` 01-12 12:06:09.834 30378-30391/com.circle.testexample W/dalvikvm﹕ Class resolved by unexpected DEX: Lorg/mockito/ArgumentMatcher;(0x421d8b58):0x78cb0000 ref [Lorg/hamcrest/BaseMatcher;] Lorg/hamcrest/BaseMatcher;(0x421d8b58):0x78855000...

I ran across that as well and didn't really like it. Just to document another bad solution: ``` androidTestProvided 'com.android.support.test:testing-support-lib:0.1' androidTestProvided ('com.android.support.test.espresso:espresso-core:2.0') { exclude group: 'javax.inject' } // adds the...