Skip to content
Init is here / May 19 - 23
Back

Documentation for Flutter Push Notification

  • 0
  • Self Hosted
  • Flutter
Shiba
14 Mar, 2024, 13:57

Followed https://appwrite.io/docs/products/messaging/fcm

classpath 'com.google.gms:google-services:4.4.0'

gives the below error

TypeScript
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
> Could not create an instance of type com.android.build.gradle.internal.plugins.AppPlugin$ApplicationAndroidComponentsExtensionImplCompat.
> Could not generate a decorated class for type AppPlugin.ApplicationAndroidComponentsExtensionImplCompat.
> Cannot have abstract method AndroidComponentsExtension.registerSourceType().

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 819ms
Running Gradle task 'bundleRelease'...                           1,320ms
Gradle task bundleRelease failed with exit code 1
TL;DR
Developers encountering plugin error when setting up Flutter Push Notification documentation. Possible solution: Check compatibility issues between 'com.google.gms:google-services:4.4.0' and Android plugins targeted.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more