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

Invalid build configuration. Attempt to create a global synthetic for 'Record desugaring' without a global-synthetics consumer. #1963

Open
JR-05 opened this issue Sep 15, 2023 · 3 comments
Labels
needs-review issue/PR needs review from maintainer

Comments

@JR-05
Copy link

JR-05 commented Sep 15, 2023

Issue_title_

Execution failed for task ':app:mergeExtDexDevDebug'.

Environment

IDEA: AndroidStudio
Web3j 4.10.2
Java version: zuluDK17
Operating System Win10
Gradle version: 7.6

Error


  • What went wrong:
    Execution failed for task ':app:mergeExtDexDevDebug'.

Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
Failed to transform utils-4.10.2.jar (org.web3j:utils:4.10.2) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=29, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=17, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: G:\Android.gradle\caches\transforms-3\1c0faa2d355f61714654368fa65b03fc\transformed\jetified-utils-4.10.2.jar.
> Error while dexing.

@JR-05 JR-05 added the needs-review issue/PR needs review from maintainer label Sep 15, 2023
@JR-05
Copy link
Author

JR-05 commented Sep 15, 2023

I also need to add a special configuration, that is, if minifyEnabled = true, everything will be normal.

@rgdzh1
Copy link

rgdzh1 commented Oct 19, 2023

I also encountered this problem

@honey201
Copy link

I also encountered this problem. Did anyone able to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-review issue/PR needs review from maintainer
Projects
None yet
Development

No branches or pull requests

3 participants