清单合并失败,添加firebaseui依赖时出错

时间:2018-04-05 16:56:33

标签: android android-studio android-gradle-3.0

我在我的应用程序gradle中有以下依赖项,它们完全正常工作,直到我添加firebase ui依赖项。

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:design:26.1.0'
implementation 'com.google.firebase:firebase-auth:12.0.1'
implementation 'com.google.firebase:firebase-database:12.0.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso- 
core:3.0.1'
implementation 'com.google.android.gms:play-services-maps:12.0.1'
implementation 'com.google.android.gms:play-services-location:12.0.1'
implementation 'com.google.android.gms:play-services-places:12.0.1'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'

}

这是我要添加的ui依赖项。

implementation 'com.firebaseui:firebase-ui:2.1.0'

项目的构建显示以下错误

failed : Attribute meta-data#android.support.VERSION@value value=(26.1.0) 
from [com.android.support:design:26.1.0] AndroidManifest.xml:28:13-35
is also present at [com.android.support:customtabs:25.4.0] 
AndroidManifest.xml:25:13-35 value=(25.4.0).
Suggestion: add 'tools:replace="android:value"' to <meta-data> element at 
AndroidManifest.xml:26:9-28:38 to override.

我应该使用哪种依赖项,以便项目成功构建。

0 个答案:

没有答案