Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':flutter_image_compress_common:compileDebugJavaWithJavac #326

Open
catekhui opened this issue Dec 13, 2024 · 0 comments

Comments

@catekhui
Copy link

Version

2.3.0

Platforms

Android

Device Model

Android 13

flutter info

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_image_compress_common:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':flutter_image_compress_common: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\USER\AppData\Local\Android\sdk\platforms\android-31\core-for-system-modules.jar.
         > The provided zip (C:\Users\USER\AppData\Local\Android\sdk\platforms\android-31\core-for-system-modules.jar) is invalid. Entry 'META-INF/' name field is 35976 bytes in the Central Directory but 9 in the Local File Header

How to reproduce?

The bug happened lately, I used to use the plugin very well, but took a break for quite a longtime, lately, I cannot use the plugin anymore due the said bug

Logs

No response

Example code (optional)

No response

Contact

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant