remove or update Google play service on emulator

后端 未结 5 1886
心在旅途
心在旅途 2021-01-06 16:07

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 a

相关标签:
5条回答
  • 2021-01-06 16:55

    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.

    0 讨论(0)
  • 2021-01-06 16:56

    Installing google service packages; gms and vending

    • Be sure that emulator started
    • Copy com.google.android.gms-19032013.apk and com.google.android.vending-19032013.apk files to < bundle root >\sdk\platform-tools from my blog.
    • Open command prompt and go to < bundel root >\sdk\platform-tools
    • then run command adb install com.google.android.gms-19032013.apk
    • then run command adb install com.android.vending-19032013.apk if it says already exits then run commands -adb uninstall com.android.vending -adb uninstall com.google.android.gms

    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

    0 讨论(0)
  • 2021-01-06 16:57

    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.

    0 讨论(0)
  • 2021-01-06 17:00

    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

    http://www.filecrop.com/search.php?w=com.google.android.gms-19032013.apk&size_i=0&size_f=100000000&engine_d=1&engine_h=1&engine_e=1&engine_m=1&engine_4=1

    0 讨论(0)
  • 2021-01-06 17:08

    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.

    0 讨论(0)
提交回复
热议问题