gpt4 book ai didi

android - 程序类型已经存在 : android. support.design.widget.CoordinatorLayout$Behavior

转载 作者:太空宇宙 更新时间:2023-11-03 13:09:08 25 4
gpt4 key购买 nike

我在 Android 问题中运行应用程序时遇到错误:程序类型已存在:android.support.design.widget.CoordinatorLayout$Behavior

这是我的 gradle 依赖项:

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.firebase:firebase-auth:15.0.0'
implementation 'com.google.firebase:firebase-storage:15.0.0'
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'
compile 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
implementation 'com.android.support:support-fragment:26.1.0'
implementation 'com.android.support:design:26.1.0'

}

最佳答案

将 firebase-auth 更新到 15.1.0,将 firebase-storage 更新到 15.0.2。现在他们有独立的版本号。

还将 google-services 从项目 .gradle 更新为:

类路径 'com.google.gms:google-services:3.2.1'

查看发行说明 here

关于android - 程序类型已经存在 : android. support.design.widget.CoordinatorLayout$Behavior,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50166505/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com