gpt4 book ai didi

android - 无法解析 firebase-ui :0. 4.0

转载 作者:太空狗 更新时间:2023-10-29 16:00:16 27 4
gpt4 key购买 nike

正在尝试更新我的 firebaseui。但为什么这在我的 gradle 文件中不起作用?

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

更新还是一样的问题。

我的其他依赖项也更新了:

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'

compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'

compile 'com.squareup.retrofit2:retrofit:2.0.2'
compile 'com.squareup.retrofit2:converter-gson:2.0.1'
compile 'com.squareup.okhttp3:okhttp:3.2.0'


compile 'com.google.android.gms:play-services:9.0.0'
compile 'com.google.maps:google-maps-services:0.1.12'
compile 'com.google.maps.android:android-maps-utils:0.4.3'

compile 'com.google.code.gson:gson:2.6.2'
compile 'com.google.android.gms:play-services-ads:9.0.0'
compile 'com.google.android.gms:play-services-auth:9.0.0'
compile 'com.google.android.gms:play-services-gcm:9.0.0'
compile 'com.google.android.gms:play-services-location:9.0.0'


compile 'com.firebase:firebase-simple-login:1.4.2'
compile "com.google.firebase:firebase-database:9.0.0"
compile 'com.firebaseui:firebase-ui:0.4.0'

最佳答案

更新:
该错误已修复,新版本已推送。这是错误帖子的最后官方回复。

Ok I just pushed a fix for this. There will be some propagation delay. If you can try it in >= 1hr and let me know if it works that would be great. Just build your project with the gradle flag --refresh-dependencies to make sure it re-downloads deps and does not use the cached copy.


FirebaseUI0.4.0中被移动到jCenter,因此在mavenCentral中找不到.如果还是报错,尝试分别添加Database和Auth依赖,像这样

compile 'com.firebaseui:firebase-ui-database:0.4.0'
compile 'com.firebaseui:firebase-ui-auth:0.4.0'

这已被标记为错误 here .您可以阅读错误帖子以了解有关此问题的更多信息。
这是官方对bug的回复

Ok I'm glad that solved your problem. For what it's worth, com.firebaseui:firebase-ui:0.4.0 is just an empty library that declares dependencies on those libraries for convenience.

I will leave this issue open until I can figure out what's going on with my jCenter configuration, thanks for the report!

关于android - 无法解析 firebase-ui :0. 4.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37349109/

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