2013-03-02 33 views
1

的,當我試圖使用方法:Gmail登錄:谷歌發揮服務過時

mPlusClient = new PlusClient.Builder(this, this, this) 
     .setVisibleActivities("http://schemas.google.com/AddActivity", 
     "http://schemas.google.com/BuyActivity").build(); 

它觸發onConnectionFailedConnectionResult是:

ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, 
resolution=null} 

,並作爲一個整體,它說:

03-02 12:12:50.969: W/GooglePlayServicesUtil(18431): Google Play services out of date. Requires 3025100 but found 2012110 

那麼,我的設備上應該更新什麼?

回答

1

Google Play服務是Play商店的關聯功能。您可以直接從網上商店在這裏安裝:

https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en

如果您使用的是仿真器,谷歌Play服務包括在與谷歌的API 4.2.2和更新設置爲目標平臺自動真空澱積系統。我只在ARM上測試過。

請參閱this post for details on installing

+0

但如何將它安裝在仿真器上。我沒有設備。 – Ponting 2013-08-17 03:31:45

+0

對使用​​模擬器的答案添加了評論。 – class 2013-08-17 04:10:57

+0

哪個評論? – Ponting 2013-08-17 04:15:00