Google Play Services GCM 9.2.0 asks to “update” back to 9.0.0

前端 未结 11 1496
眼角桃花
眼角桃花 2020-12-07 11:35

So this morning I started updating to the latest version of my project libraries.

I\'m trying to update GCM to the latest version 9.2.0, but I get this error:

<
11条回答
  •  醉梦人生
    2020-12-07 12:22

    open app/build.gradle from your app-module and rewrite below line after dependencies block. This allows the plugin to determine what version of Play services you are using

    apply plugin: 'com.google.gms.google-services'
    

    I got this idea from here. In this tutorial second point is saying that above plugin line be at the bottom of your app/build.gradle file so that no dependency collisions are introduced. Hope it will help you out.

提交回复
热议问题