~错误现象

~错误原因
app中的Conflictwith依赖项'com.android.support:support-annotations'发生了冲突。 应用程序(26.1.0)和测试应用程序(27.1.1)的版本不同。
~解决办法
-
第一种
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:26.1.0'
}
解决办法
-
第二种
设置App的SDK版本与测试应用程序的版本一致
网友评论