2016-07-14 114 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' 
相關問題