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

后端 未结 12 2035
长情又很酷
长情又很酷 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:34

    After updating to ADT 22.0.1, due to Android private libraries, the Google Maps service was giving some error and the app crashed. So I found the solution finally and it worked for me.

    Just install the Google Play service library and then go to google-play-service/libproject/google-play-services_lib from https://www.dropbox.com/sh/2ok76ep7lmav0qf/9XVlv61D2b. Import that into your workspace. Clean your project where you want to use gogole-play-services-lib and then build it again and go to the Project -> Properties -> Java BuildPath -> select "Android Private Libraries, Android Dependencies, google-play-service"

    In Properties itself, go to Android and then choose any of the versions and then choose add and select google-play-service-lib and then press apply and finally OK.

    At last, go to the Project -> Android Tools -> Android Support Libraries. Accept the license and after installing then run your project.

    It will work fine.

提交回复
热议问题