Error:Execution failed for task ':app:preDebugAndroidTestBuild'.
> Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ.

解决方法:在app的build.gradle中添加
androidTestCompile('com.android.support:support-annotations:26.1.0') { force = true }
解决:Resolved versions for app (26.1.0) and test app (27.1.1) differ.

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-07-20
  • 2022-12-23
  • 2021-12-04
  • 2021-08-21
猜你喜欢
  • 2021-04-19
  • 2021-11-17
  • 2021-11-22
  • 2021-10-17
  • 2022-01-08
  • 2021-09-05
相关资源
相似解决方案