Failed to resolve firebase-ui:0.4.0

前端 未结 3 1919
别跟我提以往
别跟我提以往 2021-01-21 18:28

Trying to update my firebaseui. But Why doesn\'t this work in my gradle file?

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

UPDATE

3条回答
  •  误落风尘
    2021-01-21 19:12

    Update:
    The bug has been fixed and the new build is already pushed. Here's the last official reply from the bug post.

    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.


    FirebaseUI is moved to jCenter in 0.4.0, thus it can't be found in mavenCentral. If it's still giving error, try to add Database and Auth dependencies separately, like this

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

    This has been marked as a bug already here. You can read the bug post to read more about this issue.
    Here's the official reply on the 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!

提交回复
热议问题