Open mashrurbd opened 4 years ago
IM not 100% sure, but i think ive encountered the same error in Android Studio:
error: cannot find symbol class FirebaseInstanceIdService error: cannot find symbol class FirebaseInstanceIdService error: method does not override or implement a method from a supertype
this is because of some "wrong" settings in build.gradle (app level). Simply replace
compile "com.google.firebase:firebase-core:+" compile "com.google.firebase:firebase-messaging:+"
in the dependencies setion with
implementation 'com.google.firebase:firebase-core:16.0.8' implementation 'com.google.firebase:firebase-messaging:17.6.0'
Thank you for your response, I have fixed the issue.
~ Mashrur Mohsin Afif 📞 +8801521105285
On Fri, Feb 14, 2020, 1:56 AM Dominic Roesmann notifications@github.com wrote:
IM not 100% sure, but i think ive encountered the same error in Android Studio:
error: cannot find symbol class FirebaseInstanceIdService error: cannot find symbol class FirebaseInstanceIdService error: method does not override or implement a method from a supertype
this is because of some "wrong" settings in build.gradle (app level). Simply replace
compile "com.google.firebase:firebase-core:+" compile "com.google.firebase:firebase-messaging:+"
in the dependencies setion with
implementation 'com.google.firebase:firebase-core:16.0.8' implementation 'com.google.firebase:firebase-messaging:17.6.0'
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fechanique/cordova-plugin-fcm/issues/631?email_source=notifications&email_token=AC7TE455HDJJRBZKMR4PAC3RCWQXLA5CNFSM4KPH6UMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELWMVRI#issuecomment-585943749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7TE465AXSVTAW6Z3MQC7DRCWQXLANCNFSM4KPH6UMA .
This error occurred while building:
Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: MyFirebaseInstanceIDService.java - You can fix this here
My config.xml is as below:
`<?xml version='1.0' encoding='utf-8'?>