morpig
morpig

Reputation: 21

Google Play Services - out of date API 23

Just installed a fresh Android Studio and Marshmallow Platform. I tried to run a GCM app and this happens.

Google Play services out of date. Requires 8487000 but found 8185470

Any ideas? Thanks

Upvotes: 2

Views: 4106

Answers (2)

koral
koral

Reputation: 2533

You need to update Google Play Services application. You can use GoogleApiAvailability to obtain Intent for launching recover process.

Upvotes: 0

Martin Konecny
Martin Konecny

Reputation: 59611

Your phone hasn't auto-updated to Google Play Services 8.4 yet (it only has 8.1), and your app was compiled using Google Play Services 8.4.

Either change the version you are compiling with in the app/build.gradle to 8.1.0:

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

or wait for your phone to auto-update to the latest version.

Upvotes: 2

Related Questions