Hi DHIS2 Community,
I’m currently working on a project that uses the DHIS2 Android app, which was previously handled by someone else. As I’m new to DHIS2 and the DHIS2 Capture app, I’ve run into a Gradle build issue that I’m unable to resolve.
The error I’m encountering is:
Caused by: org.gradle.api.internal.artifacts.ivyservice.TypedResolveException: Could not resolve all files for configuration ':compose-table:androidJdkImage'.
Additionally, the full error stack includes:
Caused by: org.gradle.api.internal.artifacts.transform.TransformException: Execution failed for JdkImageTransform: C:\Users\HISP-IT\AppData\Local\Android\Sdk\platforms\android-34\core-for-system-modules.jar.
Caused by: org.gradle.api.internal.artifacts.transform.TransformException: 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}.
Caused by: org.gradle.api.internal.artifacts.transform.TransformException: 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}.
I’ve tried clearing the Gradle cache, refreshing dependencies, and checking SDK versions, but the issue persists.
If anyone here has encountered a similar issue or can point me in the right direction to resolve this, I’d really appreciate your help. Since this is an urgent project with a tight deadline, any advice would be very valuable.
Thanks in advance!
Best regards,
Mohd Nawaz
1 post - 1 participant