2017-01-14 108 views
3

我剛剛更新谷歌播放服務包,但它的工作不適合我me.Also添加谷歌Android播放服務無法正常工作

<meta-data 
      android:name="com.google.android.gms.version" 
      android:value="@integer/google_play_services_version" /> 

到manifiset和compile 'com.google.android.gms:play-services:6.1.+'建設。 gradle但它不適合我。

import libraries

+3

嘗試使用10.0.1最新版本的播放服務的任何個人的App Indexing API build.gradle描述提及。 –

+1

什麼是「不工作」的意思。請具體說明你的錯誤。 – grant

+0

@DheerubhaiBansal thanx多數民衆贊成在我身上 –

回答

4

您還在使用舊版本的PLAY Service因爲Placesv.9.4版本添加提及官方docs releases too

所以只需更新您的gms依賴於最新一期即

compile 'com.google.android.gms:play-services:11.6.0' 

您還可以使用適當的版本添加單個API as mention under Table 1 here

因此,使用單獨的API,如果你可以因爲這將避免Multudex在未來的需求雖然沒有在文檔