ionic2 Android, Build failed version 9.2.0 is needed for the google-services plugin

You could edit a file of platforms/android/cordova-plugin-fcm/xxx-FCMPlugin.gradle
At the end of the file shows

dependencies {
compile 'com.google.firebase:firebase-core:9.2.0'
compile 'com.google.firebase:firebase-messaging:9.2.0'
}

Modify to,

dependencies {
compile 'com.google.firebase:firebase-core:15.+'
compile 'com.google.firebase:firebase-messaging:15.+'
}

Then recompile, hope it helps ^^

Comments