Aitor Chicharro
Aitor Chicharro

Reputation: 73

Google play services out of date on a virtual machine

I'm trying to make an application using google maps, but in the emulator it does not work in console I see the following error:

W/GooglePlayServicesUtil(1041): Google Play services out of date.  Requires 3159100 but found 3136130

On screen I see that I have to update google services ..

My virtual machine is 4.2.2

What do I do? I've searched the forums here .. but no solution that I've tried has worked ..

Upvotes: 3

Views: 5990

Answers (4)

Bilbo Baggins
Bilbo Baggins

Reputation: 3692

This is a Google issue. Check this out - https://code.google.com/p/android/issues/detail?id=57880

They've posted a message saying that they will post the updated play services soon. Till then (as of 31 July) you won't be able to run the Google Maps API on your emulator even if you do all the steps required.

Edit: As of September 2013, they've launched an update for it..

Upvotes: 1

Maddy
Maddy

Reputation: 326

I resolved this issue by creating a new avd with target version as : Google APIs(GoogleInc) API Level 18. (platform 4.3 google api required)

Upvotes: 0

Raghunandan
Raghunandan

Reputation: 133570

Install a compatible version of the Google APIs platform. Open the sdk manager and check if you have the updated Google play services.(assuming you use eclipse)

Quoting from the docs.

If you want to test your app on the emulator, expand the directory for Android 4.2.2 (API 17) or a higher version, select Google APIs, and install it. Then create a new AVD with Google APIs as the platform target.

Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services.

http://developer.android.com/google/play-services/setup.html

Check the topic under Ensure Devices Have the Google Play services APK.

Make sure you have the latest updates

Upvotes: 1

Broak
Broak

Reputation: 4187

In your SDK manager, make sure you've downloaded the latest 'Google play services' or alternatively download them manually and adb install onto the emulator.

Upvotes: 0

Related Questions