Synchronization failed after adding FirebaseUI add-on

In dependencies 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 is causing the crash (without this line, it syncs without any problem)

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

      

Error messages:

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

      

+3


source to share


1 answer


I recommend using this guide to resolve the error firebase-ui-auth

: Firebase UI Auth

Second, to solve the dependency error with com.android.support:

in your project



Go to the project level build.gradle and check if it looks like this:

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

      

+3


source







All Articles