BlinkReceipt / blinkreceipt-android

MIT License
49 stars 16 forks source link

Build Error on upgrading to version 1.7.0 #70

Closed vtn-dev-manish closed 9 months ago

vtn-dev-manish commented 9 months ago

After upgrading to version 1.7.0 from 1.6.9 following build time error is encountered in the sdk, sharing a log file also with details of error.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeExtDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform blinkreceipt-camera-ui-1.1.5.aar (com.microblink.blinkreceipt:blinkreceipt-camera-ui:1.1.5) 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=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingNoClasspathTransform: /Users/netzwelt/.gradle/caches/transforms-3/86106b4c99d42fd9ee2e8f53083cbcb7/transformed/jetified-blinkreceipt-camera-ui-1.1.5-runtime.jar.
         > Error while dexing.
   > Failed to transform blinkreceipt-core-1.4.1.aar (com.microblink.blinkreceipt:blinkreceipt-core:1.4.1) 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=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingNoClasspathTransform: /Users/netzwelt/.gradle/caches/transforms-3/49271e3319c87ae2a4478ee1390c2bb3/transformed/jetified-blinkreceipt-core-1.4.1-runtime.jar.
         > Error while dexing.
   > Failed to transform blinkreceipt-camera-1.4.1.aar (com.microblink.blinkreceipt:blinkreceipt-camera:1.4.1) 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=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingNoClasspathTransform: /Users/netzwelt/.gradle/caches/transforms-3/00180d7c3b79e2bf8231df49c28f680c/transformed/jetified-blinkreceipt-camera-1.4.1-runtime.jar.
         > Error while dexing.

Logs.txt

BAbbottKlover commented 9 months ago

Upgrade your AGP to 8.2, this is what worked for me.

pequots34 commented 9 months ago

Upgrade AGP to 8.2.0

vtn-dev-manish commented 8 months ago

Is there any alternative to it, Upgrade to 8.2 currently not possible for me due to some other dependencies which are not compatible with 8.2.0.