Skip to content Skip to sidebar Skip to footer

Googleplayservicesutil: Google Play Services Out Of Date. Requires 5089000 But Found 5077534

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 logs: GooglePla

Solution 1:

The build.gradle on the wearable side needs to be updated to use play-services-wearable instead of just play-services like you have shown above.

So if you look at one of the samples like DataLayer provided in the Wear SDK, it uses something like this in wearable/build.gradle:

dependencies {
    compile'com.google.android.gms:play-services-wearable:+'
}

I have put in a request to get this mentioned in the official documentation soon.

Solution 2:

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

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

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

Post a Comment for "Googleplayservicesutil: Google Play Services Out Of Date. Requires 5089000 But Found 5077534"