Administrator
发布于 2024-05-26 / 35 阅读
0
0

ReactNative 的问题解决

* What went wrong:
Execution failed for task ':invertase_react-native-apple-authentication:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':invertase_react-native-apple-authentication: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\sun\AppData\Local\Android\Sdk\platforms\android-33\core-for-system-modules.jar.
         > Error while executing process C:\Program Files\Java\jdk-22\bin\jlink.exe with arguments {--module-path C:\Users\sun\.gradle\caches\transforms-3\648b0eec893db8eb6c7660e39dbefb23\transformed\output\temp\jmod --add-modules java.base --output C:\Users\sun\.gradle\caches\transforms-3\648b0eec893db8eb6c7660e39dbefb23\transformed\output\jdkImage --disable-plugin system-modules}

解决办法;

jdk21 降低 jdk 17


评论