gradle编译错误:Conflict with dependency com.android.support:support-annotations

Android Studio 编译报错:Error:Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (23.3.0) and test app (23.1.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.

解决方法之一:可以尝试在build.gradle中的configurations.all {}下添加:resolutionStrategy.force ‘com.android.support:support-annotations:23.1.1’ 
原文见: 
Conflict with dependency com.android.support:support-annotations解决方案

你可能感兴趣的:(Android错误总结)