androidStudio3.0.1出现Resolved versions for app (26.0.0-beta1) and test app (27.1.1) differ

遇到这问题,更改app版本就很简单了,但我因为某些原因不能修改app版本,只能修改test app了。所以找到了下面链接的参考:

https://blog.csdn.net/yikunhan/article/details/80096039

以下为转载内容

==========================================================================
  1. Error:Execution failed for task ':app:preDebugAndroidTestBuild'.

  2. > Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.0.0-beta1) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.

TestBuildVersion 出问题了

AS配置的版本:

修改:

或者直接删除这两行:

结束。

猜你喜欢

转载自blog.csdn.net/u011368551/article/details/82154436
app
今日推荐