Google Play services out of date. Requires 7571000 but found 6774470

后端 未结 5 1311
盖世英雄少女心
盖世英雄少女心 2021-02-19 02:16

Im trying to add google play API to my android game and i followed the instructions in their site.

I got this error in the emulator run, trying to solve it. (on my phone

5条回答
  •  没有蜡笔的小新
    2021-02-19 02:50

    Didn't specify what IDE you use?
    - In case of gradle / Android studio you can check and configure in build.gradle file, setting 1, as described here, other settings are not necessary and can be removed.
    - In case of other IDE / Eclipse check project references and correlate jar file from lib folder with @integer/google_play_services_version value from sdk project.

    Check the following settings:

    1. in build.gradle

      dependencies {  
          compile 'com.google.android.gms:play-services-base:7.5.0@aar'  
      
    2. in AndroidManifest.xml, usually should add in your project manifest file

      
      
    3. in res/values/version.xml from referenced sdk project or included in your own project manifest file

      
          7571000
      
      

    To find out what version can be used in build.gradle or to download specific version of google play services sdk , check here and here.

提交回复
热议问题