1

I am getting below error when building Flutter app for android

ERROR:/Users/otabekochilov/.gradle/caches/transforms-3/99d4ac1fb93dcdf71f5d6e6abf284220/transformed/jetified-lottie-compose-6.2.0-runtime.jar: D8: com.android.tools.r8.internal.YI0: Sealed classes are not supported as program classes

FAILURE: Build failed with an exception.

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

Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'. Failed to transform lottie-compose-6.2.0.aar (com.airbnb.android:lottie-compose:6.2.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21, 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 DexingWithClasspathTransform: /Users/otabekochilov/.gradle/caches/transforms-3/99d4ac1fb93dcdf71f5d6e6abf284220/transformed/jetified-lottie-compose-6.2.0-runtime.jar. > Error while dexing.

How I can fix this?

1
  • Were you able to find a solution? Commented Jul 29, 2024 at 12:20

1 Answer 1

1

For me it was flutter_intercom related.

See: https://github.com/v3rm0n/intercom_flutter/issues/394 and update package to 8.0.9

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.