博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
错误:26.1.0和27.1.1differ问题
阅读量:6993 次
发布时间:2019-06-27

本文共 451 字,大约阅读时间需要 1 分钟。

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 for details. Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar]

解决方案:在此行添加gradle模块的依赖项

compile 'com.android.support:support-annotations:27.1.1'
如果您使用的是Android工作室3+改变compile到implementation

转载于:https://blog.51cto.com/13652962/2355175

你可能感兴趣的文章