在为firebase-ui-auth添加依赖项时出错

Khu*_*shi 6 android firebase firebaseui

由于需要根据Firebase/Play服务版本使用FirebaseUI版本,因此我添加:

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'
Run Code Online (Sandbox Code Playgroud)

并且该应用程序唯一可用的播放服务是:

 compile 'com.google.android.gms:play-services-auth:10.2.1'
Run Code Online (Sandbox Code Playgroud)

但Firebase UI库(1.2.0)依赖于各种播放服务库的10.2.0版本:https://github.com/firebase/FirebaseUI-Android.

这些是所有依赖项的最新版本,但在Studio中无法解决.

需要一些帮助!提前致谢 :)

Cur*_*rio 2

改变

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

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

这个对我有用

原答案