React-native-fcm: Method does not override or implement a method from a supertype

Created on 20 Jul 2017  路  6Comments  路  Source: evollu/react-native-fcm

What version of RN and react-native-fcm are you running?

  "react-native": "0.47.0-rc.4",
 "react-native-fcm": "7.2.0",

What device are you using? (e.g iOS9 emulator, Android 6 device)?

Android 6 emulator, not compiling

Advanced:
Have you tried adding break point in native handlers to see if message gets delivered?
No
can share a project with issue?
No

:react-native-fcm:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/jaime/Github/ROC/RocNativeProject/node_modules/react-native-fcm/android/src/main/java/com/evollu/react/fcm/FIRMessagingPackage.java:26: error: method does not override or implement a method from a supertype
    @Override
    ^
1 error
:react-native-fcm:compileReleaseJavaWithJavac FAILED

Most helpful comment

run react-native link and react-native upgrade inside you project then run
react-native run-android / ios
image

All 6 comments

some problem too

someone solve the problem?

+1 after upgrading (via git) to 0.47 with the few packages that I use, cm-rn-document-picker, rn-audio-toolkit, and some others.
After removed the document-picker (which I was not yet importing) I got it with the audio-toolkit.
Of course I cannot unlink it, because I do use this one.
Would this also happen with other linked packages?

run react-native link and react-native upgrade inside you project then run
react-native run-android / ios
image

Was this page helpful?
0 / 5 - 0 ratings