user3478224
user3478224

Reputation: 73

"This app won't run until you update Google Play Services" GameBaseUtils

I'm trying to integrate Games in my application using BaseGameUtils. Everything look OK but when I run the app I get the message "This app won't run until you update Google Play Services", when I click the Update button, the Play Store opens in the Google Play Services page, but I only can "Open" or "Uninstall" because it is updated. I tried reinstalling but does not work.

EDIT: I get this message from Logcat "GooglePlayServicesUtil﹕ Google Play services out of date. Requires 5208000 but found 5089010" but I'm using compile 'com.google.android.gms:play-services:5.2.08'

Upvotes: 1

Views: 1181

Answers (1)

user936580
user936580

Reputation: 1233

I've solved the issue requiring version 5.0.+ of the Google Play Services. For that, I changed both the file build.gradle, both in my app module and in the BaseGameUtils module, from:

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

to

compile 'com.google.android.gms:play-services:5.0.+'

These questions mention the same issue:

Google Play Services version 5.2.08 too recent for my device

After update - crash com.google.android.gms:play-services:5.2.8

Upvotes: 1

Related Questions