"failed To Notify Dependency Resolution Listener." Error When Importing Firebaseui
When I implement firebaseui, I encounter this error: Failed to notify dependency resolution listener. The library com.google.android.gms:play-services-basement is being requested b
Solution 1:
Using ./gradlew app:dependencies
in the Android Studio terminal will let you know which dependencies are having different versions. However, you can try updating all related dependencies.
In your root build.gradle
:
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
...
In the app build.gradle
:
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.firebaseui:firebase-ui:2.1.0'
Then try to rebuild the project. This should solve the issue most of the times, also make sure you have added:
repositories {
// ...google() // Google's Maven repository
}
In the root build.gradle
.
Post a Comment for ""failed To Notify Dependency Resolution Listener." Error When Importing Firebaseui"