user3095495
user3095495

Reputation:

Google Play services out of date. Requires 9256000 but found 9080470

Simply just created a new blank GoogleMaps activity, when I go to run the emulator, the emulator displays..

Emulator message

Heres what I have installed in the SDK manager..

SDK manager

and here's the latest message I get in the monitor when I try and run the app...

06-30 15:46:42.388 2783-2783/jackc.mapslesson W/GooglePlayServicesUtil: Google Play services out of date.  Requires 9256000 but found 9080470

In SDK Tools I have it installed

SDK Tools

and in extras...

extras

Only fix I have currently found is in the Module grade, where it says...

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

If I change it to...

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

It then works, why is this? and is there a fix so that it works on 9.2.0?

Upvotes: 24

Views: 30834

Answers (6)

Francisco Peters
Francisco Peters

Reputation: 697

All I had to do to fix this was get into Google Play with the android device and download/update Google Play services.

Upvotes: 2

Ketan Sethi
Ketan Sethi

Reputation: 124

From after two days of work i got to know how actually it'll work

1.Install a system image without Google API

2.Download the latest Google play Use this official Google play URL from here Convert to apk

3.Now install the apk through terminal adb install yourapknamehere PS : You can find adb here C:\Users\YourUserName\AppData\Local\Android\sdk\platform-tools

Voila run the emulator and check the Google play version Settings->App->Google Play.It'll be the latest one

Upvotes: 3

Priyesh Doshi
Priyesh Doshi

Reputation: 380

If you are testing on an emulator, you can use an earlier version on your app build.gradle (unfortunately the emulators don't include the updated version).

You can use this in the app level gradle:

"compile 'com.google.android.gms:play-services-gcm:7.5.0'"

and and this is the dependency for the Google Services Gradle plugin in the project top-level build.gradle:

"classpath 'com.google.gms:google-services:1.3.0-beta1'"

Upvotes: 1

Jon B
Jon B

Reputation: 41

I was having a similar issue. However downgrading to:

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

did not work for me. However, I was able to update the Android SDK and tools, then my emulators worked just fine using:

compile 'com.google.android.gms:play-services-appindexing:9.2.1'

These were the Android SDK and tools that I updated

Upvotes: 0

David Sýkora
David Sýkora

Reputation: 584

I had same problem and i was trying to solve it whole day. You can do two things:

  • As you mentioned, you can downgrade to 9.0.2
  • Or you can use Genymotion emulator which is based on VM and install Google Play Services from zip file. Working GUIDE. I choose this solution and it works like a charm.

Before I started use Genymotion, I added new threads to code.google issues tracker.

Upvotes: 14

frgr
frgr

Reputation: 65

I think you need to update your Google Play services in Android Studio.

Go to SDK Manager, and go to tab SDK tools.

There search for Google Play services and update that. This should help.

Upvotes: -2

Related Questions