应用(26.1.0)和测试应用(27.1.1)的已解决版本不同 [英] Resolved versions for app (26.1.0) and test app (27.1.1) differ

查看:116
本文介绍了应用(26.1.0)和测试应用(27.1.1)的已解决版本不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是完整错误-

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. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.

我知道这类答案有很多解决方案,但我绝对是android studio,我无法理解那些与gradle交互的命令行界面之类的解决方案,等等。

I know that there are a lot of solutions to this type of answers but I am an absolute beginner in android studio and I couldnt understand those solutions like the command line interface interacting with gradle and so on...

我正在寻找一个简单的解决方案,如果有的话。
非常感谢!

I was looking for a simple solution to this problem if there is. Thanks a lot!

推荐答案

最近,我再次遇到此错误...。我只是去建立- >重建项目,它每次都对我有用。

Recently I was getting this error again....I just go to build->rebuild project and it works everytime for me.

这篇关于应用(26.1.0)和测试应用(27.1.1)的已解决版本不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆