Android依赖冲突

时间:2018-09-03 13:10:15

标签: android gradle

我收到一条消息:

  

所有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'
}

0 个答案:

没有答案