Android Espresso Issue - Dependency conflict

前端 未结 8 1879
Happy的楠姐
Happy的楠姐 2021-02-12 16:34

I\'m trying to integrate espresso into my application for ui testing. Here are my dependencies in Gradle

dependencies {
    compile fileTree(dir: \'libs\', inclu         


        
8条回答
  •  醉梦人生
    2021-02-12 17:26

    So after a lot of digging around, I found I needed to change the dependency for the support annotations.

    So I needed to change compile 'com.android.support:support-annotations:22.2.0' to androidTestCompile 'com.android.support:support-annotations:22.+'

提交回复
热议问题