Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (23.3.0) and test app (23.1.1) differ

后端 未结 6 1398
挽巷
挽巷 2020-12-31 00:42

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 \'         


        
6条回答
  •  再見小時候
    2020-12-31 01:07

    dependencies {
        //...
    
        // Solves "versions for app (23.3.0) and test app (23.1.1) differ"
        androidTestCompile 'com.android.support:support-annotations:23.3.0'
    
        // Android JUnit Runner
        androidTestCompile 'com.android.support.test:runner:0.5'
        // JUnit4 Rules
        androidTestCompile 'com.android.support.test:rules:0.5'
    }
    

提交回复
热议问题