react-native-fcm:compileReleaseJavaWithJavac FAILED
See original GitHub issue/Users/jitendra/Desktop/hostmakerco/ops-mobile/node_modules/react-native-fcm/android/src/main/java/com/evollu/react/fcm/FIRMessagingModule.java:30: error: FIRMessagingModule is not abstract and does not override abstract method onActivityResult(int,int,Intent) in ActivityEventListener
public class FIRMessagingModule extends ReactContextBaseJavaModule implements LifecycleEventListener, ActivityEventListener {
^
/Users/jitendra/Desktop/hostmakerco/ops-mobile/node_modules/react-native-fcm/android/src/main/java/com/evollu/react/fcm/FIRMessagingModule.java:158: error: method does not override or implement a method from a supertype
@Override
^
Note: /Users/jitendra/Desktop/hostmakerco/ops-mobile/node_modules/react-native-fcm/android/src/main/java/com/evollu/react/fcm/FIRMessagingModule.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:react-native-fcm:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-fcm:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Build failing for android with error "Execution failed for task ...
I experienced similar error today, it is due to deprecation of certain firebase classes used by react-native-fcm. You can either rewrite the ...
Read more >Execution failed for task ':react-native-fcm ... - GitHub
project info "react-native": "0.49.3", "react-native-fcm": "16.2.0", till yesterday there was no issue with my project, but today I am not ...
Read more >evollu/react-native-fcm - Gitter
Hey, is there a way to set the android small icon for remote notifications? Libin Lu. @evollu.
Read more >React native iOS build failing on M1 giving error with Class ...
Coding example for the question React native iOS build failing on M1 giving error with Class AMSupportURLSession is implemented-React Native.
Read more >react-native-reanimated:compiledebugjavawithjavac failed
2 errors :react-native-fcm:compileReleaseJavaWithJavac FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ...
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 Free
Top 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
Yeah, the
README
is also not clear on Android (and cocopods installation fails for me too). Take a look at theMainActivity
instructions. RN 30 then 28 and <=27. It’s not clear at all. That being said, I’m getting the first error mentioned on RN33 with 2.1.1, which I thought was the right pair.try to clear the android studio cache