When using purchases_ui_flutter I get the following errors when trying to run a debug build:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform lifecycle-livedata-core-2.8.3.aar (androidx.lifecycle:lifecycle-livedata-core:2.8.3) 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=26, 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: C:\Users\porta\.gradle\caches\8.9\transforms\02266809379a8c0cb61126b0d331cfeb\transformed\lifecycle-livedata-core-2.8.3-runtime.jar.
> Error while dexing.
> Failed to transform constraintlayout-core-1.1.0.jar (androidx.constraintlayout:constraintlayout-core:1.1.0) 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=26, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=8, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: C:\Users\porta\.gradle\caches\8.9\transforms\88b7639edd820d3f3621fa2344eae7ba\transformed\jetified-constraintlayout-core-1.1.0.jar.
> Error while dexing.
Upgrading my gradle build tools fixes this issue however it then breaks the entire app on release instead so even though it builds the app will only work correctly in a debug mode. I’ve been stumped on this for hours and nobody seems to have the same issue as me.
Question
Issues building with purchases_ui_flutter

Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.