Method does not override or implement a method from a supertype
See original GitHub issueWhat 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
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:6
Top Results From Across the Web
java - method does not override or implement a method from a ...
The problem is what the error message is saying: "the method does not override or implement a method from a supertype".
Read more >error: method does not override or implement a ... - Treehouse
The problem here is the @Override annotation and the concept of inheritance. Just as we inherit genes from our parents, classes inherit fields ......
Read more >method does not override or implement a meth - java help on ...
The Snake class must have a public void move() method. · The SnakeGame class must override the Game parent class's onTurn(int) method. ·...
Read more >r/learnjava - "method does not override or implement a ...
"method does not override or implement a method from a supertype" while using @Override. I'm trying to compile and it give the title...
Read more >What is @Override? Fix method does not override ... - YouTube
What is @Override? Fix method does not override or implement a method from a supertype.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
run react-native link and react-native upgrade inside you project then run react-native run-android / ios
Seems to be fixed here: https://github.com/evollu/react-native-fcm/commit/4c49ca7e4d3d9b2b2c323f8dbe631789e6bd457a
Try v8.0.0 of FCM