This app won't run unless you update Google Play Services (via Bazaar)

后端 未结 12 1852
长情又很酷
长情又很酷 2020-11-22 03:58

I\'m testing out the new Google Maps API V2 for Android, and I\'m getting this message when the app launches:

\"

12条回答
  •  失恋的感觉
    2020-11-22 04:23

    I spent about one day to configure the new gmaps API (Google Maps Android API v2) on the Android emulator. None of the methods of those I found on the Internet was working correctly for me. But still I did it. Here is how:

    1. Create a new emulator with the following configuration:

    Enter image description here

    On the other versions I could not configure because of various errors when I installed the necessary applications.

    2) Start the emulator and install the following applications:

    • GoogleLoginService.apk
    • GoogleServicesFramework.apk
    • Phonesky.apk

    You can do this with following commands:

    2.1) adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
    2.2) adb shell chmod 777 /system/app
    2.3-2.5) adb push Each_of_the_3_apk_files.apk /system/app/

    Links to download APK files. I have copied them from my rooted Android device.

    • GoogleLoginService.apk
    • GoogleServicesFramework.apk
    • Phonesky.apk

    3) Install Google Play Services and Google Maps on the emulator. I have an error 491, if I install them from Google Play store. I uploaded the apps to the emulator and run the installation locally. (You can use adb to install this). Links to the apps:

    • Google Maps
    • Google Play services

    4) I successfully run a demo sample on the emulator after these steps. Here is a screenshot:

    Google Maps

提交回复
热议问题