Skip to content Skip to sidebar Skip to footer

Compile 'com.firebaseui:firebase-ui:0.4.3 How To Fix Error. I Get Every Time Error With Any Firebase Ui Dependencies

Error:Execution failed for task ':app:compileDebugJavaWithJavac'. Compilation failed; see the compiler error output for details how to fix this error please ans me my build.gra

Solution 1:

You are using:

compile 'com.firebaseui:firebase-ui:0.4.3'
compile 'com.google.firebase:firebase-database:10.0.1'

As described in the documentation:

Each version of FirebaseUI has dependency on a fixed version of these libraries, defined as the variable firebase_version in common/constants.gradle. If you are using any dependencies in your app of the form compile 'com.google.firebase:firebase-*:x.y.z' or compile 'com.google.android.gms:play-services-*:x.y.z' you need to make sure that you use the same version that your chosen version of FirebaseUI requires.

FirebaseUI Version  Firebase/Play Services Version
1.2.0               10.2.0
1.1.1               10.0.0 or 10.0.1
1.0.1               10.0.0 or 10.0.1
1.0.0               9.8.0
0.6.2               9.8.0
0.6.1               9.6.1
0.6.0               9.6.0
0.5.3               9.4.0
0.4.4               9.4.0
0.4.3               9.2.1

Solution 2:

Change your build.gradle(project) file as follows:

allprojects {
    repositories {
        google()
        jcenter()
        maven { url 'https://maven.fabric.io/public' }
    }
}

Hope you will find a solution.


Post a Comment for "Compile 'com.firebaseui:firebase-ui:0.4.3 How To Fix Error. I Get Every Time Error With Any Firebase Ui Dependencies"