Google Play Services v13 error meta-data in AndroidManifest

前端 未结 3 761
天涯浪人
天涯浪人 2020-11-28 10:35

My app is using Google Play Services for location. Also it is using Google Maps. Until today it worked fine but after Eclipse updating and also Google Play Services v13 inst

相关标签:
3条回答
  • 2020-11-28 10:58

    @Javier Did you see the post on "android developers blog" ? They updated google play service app last week. So, Version code is suitable for lib now. It works well. We can use the latest version of "google-play-service-lib" now. I tested it and it works! See this http://android-developers.blogspot.kr/2014/01/google-play-services-41.html

    0 讨论(0)
  • if you use google play service revision 13 then must put this meta tag:

    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
    

    but it not work lower level api like android 2.*. to resolve this problem first install google play service for frayo revision 12 and use it. it works on all api level

    0 讨论(0)
  • 2020-11-28 11:11

    The Google Maps getting started guide says:

    Add the Google Play services version to your app's manifest

    Edit your application's AndroidManifest.xml file, and add the following declaration within the element. This embeds the version of Google Play services that the app was compiled with.

    <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
    
    0 讨论(0)
提交回复
热议问题