33

I'm trying to upgrade my libraries from :

classpath 'com.google.gms:google-services:4.2.0'

to

classpath 'com.google.gms:google-services:4.3.0'

and I'm getting below error :

enter image description here

Selman Tosun
  • 428
  • 5
  • 14
Solanki Zeel
  • 548
  • 1
  • 7
  • 18

2 Answers2

30

Updating OneSignal Plugin to 0.12.3 solved the problem for me:

buildscript {
    //.......
    dependencies {
        classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.3'
    }
    //....
}

Check this: https://github.com/OneSignal/OneSignal-Gradle-Plugin/issues/95

hiddeneyes02
  • 2,562
  • 1
  • 31
  • 58
-9

I got similar issue and I resolved it by downgrading from 4.3.0 to 4.2.0 and sync the project from Android Studio

From

classpath 'com.google.gms:google-services:4.3.0'

To

classpath 'com.google.gms:google-services:4.2.0'