0

I am trying to add firebase messaging in react native project. But getting below error when i try to run the project into Android.

Do i have to do any external setting or add firebase messaging into gradle file or does it automatically get added.

"@react-native-firebase/app": "^16.5.0",
 "@react-native-firebase/crashlytics": "^16.5.0",
 "@react-native-firebase/messaging": "^16.5.0",

but error is :

Task :react-native-firebase_messaging:compileDebugJavaWithJavac FAILED

any help.

IOSDev
  • 205
  • 2
  • 10
  • This looks similar to this issue: https://stackoverflow.com/a/70167109/4044241 could you check if the same applies here? – Gerardo Jan 24 '23 at 00:13
  • JDK11 works for me. – IOSDev Jan 24 '23 at 04:36
  • 1
    Does this answer your question? [> Task :@react-native-firebase\_messaging:compileDebugJavaWithJavac FAILED](https://stackoverflow.com/questions/69862012/task-react-native-firebase-messagingcompiledebugjavawithjavac-failed) – Gerardo Jan 24 '23 at 16:48

0 Answers0