在Android Studio 编译的时候,报错:
Warning:Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (26.1.0) and test app (27.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:27.1.1'}
网友评论