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

后端 未结 5 1173
盖世英雄少女心
盖世英雄少女心 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:51

    Add the below script in dependencies.gradle, it will download the latest play service lib automatically, and you can find them on local path such as: m2repository/com/google/android/gms/play-services.

    dependencies {
      compile 'com.google.android.gms:play-services:4.2.+'
    }
    

提交回复
热议问题