Android Espresso Issue - Dependency conflict

前端 未结 8 1893
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:25

    The problem is in this file: android-sdk\extras\android\m2repository\com\android\support\test\runner\0.3\runner-0.3.pom

    here:

    
          com.android.support
          support-annotations
          22.2.0
          compile
    
    

    if you set 22.2.1 instead 22.2.0 it will work

提交回复
热议问题