Missing Google Play Services from AVD

后端 未结 7 1054
南旧
南旧 2020-12-28 08:24

I recently started developing for Android, and I have come into trouble when trying to use Google Maps in my app. I downloaded the Google Maps API v2 for Android, and have a

7条回答
  •  情书的邮戳
    2020-12-28 08:43

    I had this same problem and found solution:

    Here are the updated gms and vending files. Same instructions as before: Create a new emulator with any cpu/abi, a non google-api target (versions 10-17 work) and gpu emulation on or off, and then install the files:

    adb install com.android.vending-20130716.apk 
    adb install com.google.android.gms-20130716.apk 
    

    If you are upgrading an existing emulator then you might need to uninstall previous versions by:

    adb uninstall com.android.vending
    adb uninstall com.google.android.gms
    

提交回复
热议问题