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

后端 未结 8 1483
夕颜
夕颜 2021-02-19 02:44

I followed google documentation to integrate my app to Google Analytics. But when adding

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

and b

8条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-19 03:33

    Replace the line compile 'com.google.android.gms:play-services-gcm:+'

    with the following compile 'com.google.android.gms:play-services-gcm:8.4.0'

    in the application build.gradle file.

提交回复
热议问题