Error adding dependencies for firebase-ui-auth

Since it is required to use the version of FirebaseUI according to the version of Firebase / Play Services, I add:

compile 'com.google.firebase:firebase-core:10.2.1'
compile 'com.google.firebase:firebase-auth:10.2.1'
compile 'com.firebaseui:firebase-ui-auth:1.2.0'

and the only game services available for the application are:

 compile 'com.google.android.gms:play-services-auth:10.2.1'

but Firebase UI libraries (1.2.0) are still dependent on versions 10.2.0 of various service libraries: https://github.com/firebase/FirebaseUI-Android .

These are the latest versions of all the dependencies, but this failed in Studio.

Need help! Thanks in advance.

+6
source share
1 answer

Change

compile 'com.google.android.gms:play-services-auth:10.2.1'

to

compile 'com.google.android.gms:play-services-auth:10.0.1'

It works for me

Original answer

+2
source

Source: https://habr.com/ru/post/1016168/


All Articles