I am using google services at the very first time in my app(ionic platform). I am following this doc. While building my app, I got the following error message. Please help out. Thank you.
A problem occurred evaluating script.
Plugin with id 'com.google.gms.google-services' not found.
Please add the plugin to your project by updating your top-level build.gradle
and your app-level build.gradle
files as follows:
- Add the dependency to your project-level build.gradle:
classpath 'com.google.gms:google-services:3.0.0'
- Add the plugin to your app-level build.gradle:
apply plugin: 'com.google.gms.google-services'
More information regarding this can be found in GCM - Set up a GCM Client App on Android.
And, in addition to that, the guide or workaround given in GitHub - GCMPushPlugin might also help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With