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

Popular posts from this blog

Arduino RFID, RC522, VUSB HID as Keyboard

Codeigniter Oracle Transaction BUG

Power Save with Atmega16A and Atmega8-PU