首页 > 解决方案 > 安卓依赖冲突

问题描述

我有一条消息:

所有 android 支持库必须使用完全相同的版本规范。找到版本 27.1.1、26.1.0。

它出现在这行代码中:

implementation 'com.android.support:appcompat-v7:27.1.1'

有谁知道如何处理它?

更新:我的依赖项如下:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.google.android.gms:play-services-maps:15.0.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

标签: androidgradle

解决方案


推荐阅读