Google Play Service Is Not Woking On Emulator

前端 未结 3 1842
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-26 08:31

I am trying to test a Simple Map application on Emulator.I also Installed the Following Apks on emulator com.google.android.gms-1.apk and com.android.vending-

相关标签:
3条回答
  • 2021-01-26 09:04

    You should test your map application on a real device. I would suggest you to test it on a real device.

    There is a work around. Drawing from the below link. I have not tested it. But you can give it a try.

    http://blog-emildesign.rhcloud.com/?p=527

    Download com.android.vending.apk from

    http://www.mediafire.com/download/pxpjfkveemq29qk/com.android.vending.apk

    Download com.google.android.gms.apk from

    http://www.mediafire.com/download/zn8wna5wf4ek5le/com.google.android.gms.apk

    Open eclipse and the AVD Manager and create an AVD with the following configuration:

    enter image description here

    Start the AVD and wait for it to finish booting, next open you command prompt and install both apk’s using the “adb install” command. for example:

    To install use the following command

    adb install com.android.vending.apk

    You should receive “SUCCESS” message at the end of the installation process (that may take some time).

    When you finish installing both apk files, close the AVD and reopen it. Now you should see a map in your application when you use the AVD instead of this annoying message.

    Note : This will work only if you are using google-play-service lib revision #4 in your application (and workspace). If you have already updated google-play-services using the SDK Manager to the latest version (Currently: revision #6) you will receive an error telling you that you that the google-play-services used by your application is too old and needs to be updated:

    Further you can check this blog by Emil Adz.

    http://blog-emildesign.rhcloud.com/?p=435

    0 讨论(0)
  • 2021-01-26 09:07

    There's a new emulator called Genymotion that supports play store and google play services

    0 讨论(0)
  • 2021-01-26 09:11

    You need any of the below to test Google Play Services .apk:

    1. A compatible Android device that runs Android 2.2 or higher and includes Google Play Store.

    2. The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

    Yours is 4.0.3

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