Execution failed for task ':react-native-firebase_app:compileDebugJavaWithJavac' #752
Closed
akshayjoshi892
started this conversation in
Feedback
Replies: 1 comment
-
Please report this issue here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Build failed while using react native firestore.
What went wrong: Execution failed for task ':react-native-firebase_app:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':react-native-firebase_app:androidJdkImage'. Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for JdkImageTransform: C:\Users\AKSHAY\AppData\Local\Android\sdk\platforms\android-33\core-for-system-modules.jar. > Error while executing process C:\Program Files\Java\jdk-21\bin\jlink.exe with arguments {--module-path C:\Users\AKSHAY.gradle\caches\transforms-3\bef6f10d85defe5f18bb0844bb85f7a2\transformed\output\temp\jmod --add-modules java.base --output C:\Users\AKSHAY.gradle\caches\transforms-3\bef6f10d85defe5f18bb0844bb85f7a2\transformed\output\jdkImage --disable-plugin system-modules}
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
`
java --version java 21.0.1 2023-10-17 LTS Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29) Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)
Whenever I install package @react-native-firebase/firestore there is some error come up. my java version is -21
Beta Was this translation helpful? Give feedback.
All reactions