How to download Google Play Services in an Android emulator?

后端 未结 12 1280
借酒劲吻你
借酒劲吻你 2020-11-22 15:26

I want to use Google Play Services API in my application, but when I open the emulator to test my application it sends me a message that says \"Google Play Services must be

12条回答
  •  借酒劲吻你
    2020-11-22 16:03

    This is how you make Android Google Maps API v2 work on your emulator.


    Create a new emulator

    • for device choose "5.1'' WVGA (480 x 800: mdpi)"
    • for target choose "Android 4.1.2 - API level 16"
    • for "CPU/ABI" choose "ARM"
    • leave rest to defaults

    these are the settings that are working for me. I don't know for different ones.


    Start the emulator


    install com.android.vending-1.apk and com.google.android.gms-1.apk via ADB install command


    The longer answer is on my blog post about this issue https://medium.com/nemanja-kovacevic/how-to-make-android-google-maps-v2-work-in-android-emulator-e384f5423723

提交回复
热议问题