在引入最新Espresso时
androidTestCompile('com.android.support.test.espresso:espresso-core:3.0.1')
报错:
Error:Conflict with dependency 'com.android.support:support-annotations' in project ':wisdom'. Resolved versions for app (25.3.1) and test app (25.4.0) differ
解决方案:统一更新最新support包到25.4.0
compile 'com.android.support:appcompat-v7:25.4.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.android.support:support-v4:25.4.0'
compile 'com.android.support:recyclerview-v7:25.4.0'
compile 'com.android.support:support-annotations:25.4.0'