2016-11-19 35 views
0

我需要亲身实践Firebase列表和回收站适配器。我已经添加了所需的火力UI的依赖,但对我的原因不明,我不断收到此错误:将Firebase UI添加到android studio

 Failed to resolve: com.firebase:firebase-ui:0.3.1

我节流的依赖版本来回(0.1.0,0.3.1,0.4。 0),他们都不适合我。我可以在这里使用一些帮助。

+0

这是最新的火力UI编译“com.firebaseui:火力的UI:1.0.0”,你可以和检查项目的回购协议在github https://github.com/firebase/FirebaseUI-Android –

+0

谢谢..我已经解决了这个问题。再次感谢。 – Nzadibe

回答

0

在应用程序的的build.gradle我添加到火力核心库的依赖关系:

compile 'com.google.firebase:firebase-core:9.8.0' 

然后根据其火力点我想除了使用的模块,我在加这些呢,比如:

compile 'com.google.firebase:firebase-ads:9.8.0' 
1

什么是您的Google Play服务版本。 如果9.8.0,下面使用兼容性原因

compile 'com.firebaseui:firebase-ui:1.0.0' 

https://github.com/firebase/firebaseui-android#using-the-library-in-your-android-app

+0

@ugoboz。我的播放服务版本是9.8.0。并且我添加了1.0.0依赖项。它显示:错误:无法解析:com.twitter.sdk.android:twitter:2.0.0。接下来是什么? – Nzadibe

+1

@Nzadibe:看到这个:https://github.com/firebase/FirebaseUI-Android/issues/392 –

+0

@ugoboz。请不要打扰。我想出了一个办法来解决这个问题。非常感谢你。 – Nzadibe

相关问题