Android – play service 5.2.08 problem

GooglePlayServicesUtil.isGooglePlayServicesAvailable(this) 

Although my game service has been updated, it always returns 2 in response

IDE:Android studio 0.8.9

Equipment: Nexus 5 (4.4.4)

BuildToolsVersion:20.0.0

But if I use the older play service, everything is normal

resolvent:

Devices using Android 4.4.4 have a playback service version of 5.0.89, and devices with Android l preview have a playback service version of 5.2.08. This is why Android studio requires you to update the playback service version to 5.2.08

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

If you want to update the playback service to 5.2, see this

If you are using Android l simulator, I think you can use 5.2.08 freely. Please refer to configure project for developer preview

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>