1

here is the error while building the signed apk the following screenshot is the packages and version used within the app.

> Task :react-native-firebase_messaging:compileReleaseJavaWithJavac FAILED
An exception has occurred in the compiler (1.8.0_291). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)

enter image description here

Amir Doreh
  • 1,369
  • 1
  • 13
  • 25

1 Answers1

0

for solving this issue , you should update your jdk and also keep your firebase libraries updated .

then run ./gradlew clean within Project's root and remove the build folder within app.

it should solve the issue!

Amir Doreh
  • 1,369
  • 1
  • 13
  • 25