Closed
Description
run flutter build apk --debug
under compass_app,get some exception
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':integration_test:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':integration_test: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\yslmy\AppData\Local\Android\sdk\platforms\android-35\core-for-system-modules.jar.
> Error while executing process D:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\yslmy\.gradle\caches\transforms-3\50c9c2081d15d2031d62d8ec6ee64288\transformed\output\temp\jmod --add-modules java.base --output C:\Users\yslmy\.gradle\caches\transforms-3\50c9c2081d15d2031d62d8ec6ee64288\transformed\output\jdkImage --disable-plugin system-modules}
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 22s
The JDK version is
java version "21.0.4" 2024-07-16 LTS
Java(TM) SE Runtime Environment (build 21.0.4+8-LTS-274)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.4+8-LTS-274, mixed mode, sharing)
Metadata
Metadata
Assignees
Labels
No labels