gpt4 book ai didi

android - 添加firebaseui 2.2.0时出错

转载 作者:行者123 更新时间:2023-11-30 00:24:50 24 4
gpt4 key购买 nike

我试过使用 firebase-ui 2.2.0这是我的毕业典礼:

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support:design:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'

compile "com.google.android.gms:play-services-auth:11.0.4"
compile "com.google.firebase:firebase-auth:11.0.4"
compile "com.google.firebase:firebase-database:11.0.4"
compile "com.google.firebase:firebase-storage:11.0.4"

compile 'com.firebaseui:firebase-ui:2.2.0'

testCompile 'junit:junit:4.12'
}

我遇到了这些错误:

Error:Failed to resolve: android.arch.lifecycle:runtime:1.0.0-alpha5
Error:Failed to resolve: com.android.support:customtabs:25.4.0
Error:Failed to resolve: com.android.support.constraint:constraint-layout:1.1.0-beta1
Error:Failed to resolve: android.arch.lifecycle:extensions:1.0.0-alpha5
Error:Failed to resolve: com.android.support:palette-v7:25.4.0
Error:Failed to resolve: com.android.support:cardview-v7:25.4.0

如何解决?我的 gradle 有什么问题?

最佳答案

确保将 Google maven 存储库添加到顶级 gradle 文件中。查看链接 --> https://developer.android.com/topic/libraries/architecture/adding-components.html

关于android - 添加firebaseui 2.2.0时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45581953/

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