2016-07-14 104 views
3

[已更新] 我更新了Google Repository到最新的一切正常!谢谢@ al-zill!是否可以使用Firebase版本9.2.1?

※在2016年7月14日(星期四)

的火力地堡的上手指南说,最新的版本是9.2.1。

https://firebase.google.com/docs/android/setup#available_libraries

然而,当我尝试添加火力地堡库,它让我看起来像下面的错误:

Error:Could not find com.google.android.gms:play-services-base:9.2.1. 
    Required by: 
    my-project:my-app:unspecified 
    <a href="searchInBuildFiles">Search in build.gradle files</a> 

它看起来像库9.2.1版本不可用刚然而。

指定9.2.0后,一切正常。

是9.2.1还没有提供而且文档有误?

+0

什么是在Android SDK中的谷歌存储库版本是它了吗?最新? – faruk

+1

尝试在Android SDK中更新最新的Google Play服务和Google存储库。我昨天试了一下,它在我的项目中工作得很好。 – faruk

+0

转到帮助>检查更新... 假设您正在使用切换到金丝雀频道。 如果发现任何更新,只需更新它。我在我的项目中使用9.2.1。 –

回答

4

因此@ al-zill告诉我,在将Google Repository更新到最新版本之后,一切正常。谢谢@ al-zill!

0

看来,9.2.1版本可以使用如7月14日...我用我的gradle这个以下成功现在:

// Android Studio 2.2 Preview 4 with Firebase 9.2.1 (emulator works now too) 
    compile 'com.firebaseui:firebase-ui-database:0.4.2' 
    compile 'com.google.firebase:firebase-core:9.2.1' 
    compile 'com.google.firebase:firebase-auth:9.2.1' 
    compile 'com.google.firebase:firebase-database:9.2.1' 
    compile 'com.google.android.gms:play-services-appindexing:9.2.1' 
相关问题