FirebaseUI-Android: Failed to resolve firebase-ui-database and firebase-ui-auth

I’ve tried to update my firebase-ui dependency from 0.3.1 to 0.4.0 but Gradle Sync fails to resolve dependencies.

Error:Failed to resolve: com.firebaseui:database:0.4.0
Error:Failed to resolve: com.firebaseui:auth:0.4.0

Thanks in advance.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 6
  • Comments: 33 (10 by maintainers)

Most upvoted comments

Instead of adding compile 'com.firebaseui:firebase-ui:0.4.0' add compile 'com.firebaseui:firebase-ui-database:0.4.0' or compile 'com.firebaseui:firebase-ui-auth:0.4.0' or add both

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!

@sdeff that’s working as intended, FirebaseUI 0.3.x was published to MavenCentral but we moved to jcenter now since that’s the default repository for all Android libraries.