After updating my google play services to rev 28 i\'m getting this error. Im not sure why this is happening as it was working fine before.
here is my build.gradl
To resolve this error, go to the Project-->platform..>android-->.gradlefile and modify the line
buildscript {
repositories {
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:+'
classpath 'com.google.gms:google-services:3.0.0'
}
}
// apply plugin: 'com.google.gms.google-services'
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin