gpt4 book ai didi

android - 添加 FirebaseUI 依赖项后同步失败

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

build.gradle(app)依赖中:

compile 'com.google.firebase:firebase-database:11.0.4'
compile 'com.google.firebase:firebase-auth:11.0.4'

This is the line that causes failure (without this line, it syncs without any problems)

compile 'com.firebaseui:firebase-ui-auth:2.1.1'

错误信息:

Failed to resolve: com.android.support:customtabs:25.4.0
Failed to resolve: com.android.support.constraint:constraint-layout:1.1.0-beta1
Failed to resolve: com.android.support:design:25.4.0
Failed to resolve: com.android.support:cardview-v7:25.4.0

最佳答案

我建议使用本指南解决 firebase-ui-auth 依赖错误:Firebase UI Auth

其次,为了解决项目中com.android.support:的依赖错误,

转到项目级别 build.gradle 并检查它是否看起来完全像这样:

allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}

关于android - 添加 FirebaseUI 依赖项后同步失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45442572/

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