11

I'm using the Google maps v2 in my app and am debugging it in the emulator. Since the update on the 26th Feb I now get this error message

Google Play services out of date. Requires 3025100 but found 2012110

I now wonder if anyone has the updated files necessary to run google play services rev 5 in the emulator? I've tried to run the app with rev 4 of Google play services, but the emulator is not having it and asks for me to update Google play services. Does anyone have any other ideas perhaps?

Many thanks

Linn
  • 121
  • 1
  • 9
  • Did you updated with revision 5? – moDev Mar 01 '13 at 11:23
  • Development of Maps V2 apps is not supported on the emulator at this time. – CommonsWare Mar 01 '13 at 13:41
  • @Mitesh Yes, I updated to revision 5 with the SDK. I have also tried to downgrade back to rev 4, but the emulator is then telling me that Google play services need to be updated. I guess I just need the `vending.apk` and `gms.apk` for the updated play services. But I can't seem to get hold of them. – Linn Mar 01 '13 at 14:26
  • @CommonsWare Not officially no, but you just need to install the play services manually and it does. See [this tutorial](http://nemanjakovacevic.net/blog/2012/12/how-to-make-android-google-maps-v2-work-in-android-emulator/) – Linn Mar 01 '13 at 14:28
  • And that is called "software piracy". – CommonsWare Mar 01 '13 at 14:30
  • Well I'm actually getting this on a real device, just after I set up a clean enviroment on a new laptop with a project that was working ok previously, any ideas as to what can be happening? EDIT: I just found out that my device was to blame. It was actually a recently reset galaxy tab, which still had the old Android Market in it. – Bilthon Mar 05 '13 at 04:07
  • @Linn, did you succeed at getting updated to 3025100? – Stéphane Bruckert Mar 13 '13 at 20:15
  • @StéphaneBruckert found the files! :D See answer – Linn Mar 14 '13 at 12:21
  • @Linn [How to set up a fast emulator for Android on Linux?](http://weblog.avp-ptr.de/20130912/how-to-set-up-a-fast-emulator-for-android-on-linux/) – JJD Sep 11 '13 at 23:06

2 Answers2

0

I found the files I needed in the end, gms and vending

Linn
  • 121
  • 1
  • 9
  • Hi. i got an error wile executing this "adb install -r gms.apk" it says "inconsistent certivicates" can u help me? – Alfa Mar 27 '13 at 04:52
  • @Alfa Hmm.. nothing I've ever come across unfortunately. But I found this [post](http://stackoverflow.com/a/3185824/1372400). It might help? – Linn Mar 27 '13 at 14:45
0

After the updateion of ADT 22.0.1 and new Android Private Libraries, the google map service was giving some or the error and app crashes off. So i found the solution finally and it worked for me.

Just install the google play service lib and than go to the google-play-service/libproject/google-play-services_lib from the link below :-

https://www.dropbox.com/sh/2ok76ep7lmav0qf/9XVlv61D2b

than import that into your workspace . Clean your project where you want to use gogole-play-services-lib than build it agian and go to the Project > Properties > Java BuildPath > select "Android Private Libraries, android Dependencies, google-play-service"

in Properties itself go to Android and than choose any of the version and than choose add and select google-play-service-lib and than press apply and finally OK.

At last go to the Project > Android Tools > Android Support Libraries . Accept the license and after installing than run your project.

It will Work Fine.

Hope this Will Help You.