Reputation: 401
i programmed an android app which uses the google maps api v2. i want to test it on the emulator, but to show the map it has a little bit problems. i googled and found the articel, that i have to install to packages (vending.apk, android.gms.apk). i downloaded the packages and installed it. what i did not know is, the installed android.gms.apk is not up to date. when i run the app on the emulator, it shows an button an a message: ...update Google Play services. And now i found the newest version of the .gms.apk. but i am not able to remove or update the google play services on the emulator, because i became the following message from the cmd:
is there a solution for these problem? thx in advance
Upvotes: 4
Views: 19637
Reputation: 53
user2414493 My original reason to try and reinstall is because even with google API 19 my App which mind you works on Samsung s3 and Nexus 4 crashes. Right before it crashes it prints this
Google Play services out of date. Requires 4132500 but found 4033530.
Infact on google API 19 even google Maps is not working completely! I can't get my current location even though I have internet connection and 4g emulated.
Upvotes: 0
Reputation: 53
adb uninstall cannot work for system apps is what I am finding out. And Vending and gms are system apps. Therefore adb uninstall com.android.vending causes a failure even if I su. So is there no resolution to this problem?
I can't install it even if I use -r because the certificates are different.
Upvotes: 2
Reputation: 3231
the below link help you to step by step about google android map
http://umut.tekguc.info/en/content/google-android-map-v2-step-step
download the package from following link
by entering package name
Upvotes: 0
Reputation: 1
you should try it on android instead of google api's , i am sure it will work for you. because google api's have already installed these apk's.
Upvotes: 0
Reputation: 561
Installing google service packages; gms and vending
I had similar problems so I prepared step by step tutorial to show how you can use google map android v2 on emulator(android 4.2.2) have a look at to my blog: http://umut.tekguc.info/en/content/google-android-map-v2-step-step
Upvotes: 5