Build Error after using FCM plugin


Build error after using FCM plugin. Any Solution please…

FAILURE: Build failed with an exception.

  • Where:
    Script ‘C:\Users\Windows 7\xxxx\platforms\android\cordova-plugin-fcm\android-FCMPlugin.gradle’ line: 13

  • What went wrong:
    A problem occurred evaluating script.

Failed to apply plugin [class ‘’]
For input string: “+”

Below is the FCMPlugin.gradle:

buildscript {
	repositories {
    dependencies {
        classpath ''
        classpath ''
// apply plugin: ''
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
//-------Line 13-----//
apply plugin:
//------Line 13-----//