Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']

Java
// in /platforms/android/cordova-support-google-services

// In this directory find the file {APP}-build.gradle

// Open and comment the next line

apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
Source

Also in Java: