GooglePlayServicesUtil: Google Play services out of date. Requires 5089000 but found 5077534

后端 未结 2 617
暖寄归人
暖寄归人 2021-01-20 18:57

I have a problem with an update to the google-play-services SDK.

My app builds and runs (as it did before) - but on the Android wear watch, this message is in the l

2条回答
  •  伪装坚强ぢ
    2021-01-20 19:19

    This happens when your mobile has old play-service and you are using new play-service lib. so all you need to update your google-play-service from your phone.

    You can use

    int googleServiceStatus = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
        Dialog dialog = GoogleApiAvailability.getInstance().getErrorDialog(this,googleServiceStatus, 10);
        if(dialog!=null){
            dialog.show();
        }
    

    this will show popup in case of any problem to get play-service.

提交回复
热议问题