问题描述
根据该文件GooglePlayServicesUtil.isGooglePlayServicesAvailable返回SERVICE_VERSION_UPDATE_REQUIRED当安装了谷歌Play业务的版本是过时的。
According to the documentation GooglePlayServicesUtil.isGooglePlayServicesAvailable returns SERVICE_VERSION_UPDATE_REQUIRED when "The installed version of Google Play services is out of date".
这是否意味着有Play商店谷歌的新版本播放服务?
这是否意味着应用程序需要一个较新的版本比当前安装在设备中的一个?
Does this mean that there is a new version of google play services in the play store?
Does this mean that the app needs a newer version than the one that is currently installed in the device?
此检查是怎样做到的?
推荐答案
这意味着谷歌的版本,玩你包括在你的应用程序比用户设备上当前安装一个更高的服务。用户需要更新自己的谷歌按序播放服务,为您的应用程序才能正常工作。
this means that the version of google play service you included in your app is higher than the one currently installed on the users device. the user needs to update their google play services in-order for your app to work correctly.
如果结果回来与错误,你可以简单地调用这个方法,提醒他们需要更新的用户,它会带过来的。
if the result comes back with that error you can simply call this method to alert the user they need to update and it will take them there.
GooglePlayServicesUtil.getErrorDialog(result, this, GOOGLE_PLAY_SERVICE_UPDATE_CODE).show();
结果
是 isGooglePlayServicesAvailable
方法的结果
这篇关于什么时候isGooglePlayServicesAvailable回报SERVICE_VERSION_UPDATE_REQUIRED?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!