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

后端 未结 8 1489
夕颜
夕颜 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:16

    I was having this exact issue, and the following fixed it.. go to platforms>android>project.properties and edit the lines

    cordova.system.library.5=com.google.android.gms:play-services-auth:+
    cordova.system.library.6=com.google.android.gms:play-services-identity:+
    

    to

    cordova.system.library.5=com.google.android.gms:play-services-auth:11.0.1
    cordova.system.library.6=com.google.android.gms:play-services-identity:11.0.1
    

    It is said that # Do not modify this file -- YOUR CHANGES WILL BE ERASED! But this fixed my issue

提交回复
热议问题