2013-03-02 61 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