我在Android版本2.2.1中使用了摩托罗拉Defy。 我的应用使用GoogleMaps Api V2。在使用地图之前,我使用此方法检查GooglePlayServices是否一切正常:
public static boolean checkIfMapsIsOk(Activity context) {
int checkGooglePlayServices = GooglePlayServicesUtil.isGooglePlayServicesAvailable(context);
if (checkGooglePlayServices != ConnectionResult.SUCCESS) {
GooglePlayServicesUtil.getErrorDialog(checkGooglePlayServices, context, 1122).show();
return false;
} else {
return true;
}
}
此方法始终返回ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED,但我已检查我的Google Play服务是否已更新。我该如何解决这种情况?
感谢。