Trying to integrate Banuba SDK with my social media flutter app... facing issues

I have done all the steps required to integrate Banuba sdk with flutter app but always I came to the same error…
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\2f02b067c25a7706ea1de05aa655c030\transformed\jetified-core-ui-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\40444381b422ffb8fb228631642a0655\transformed\jetified-core-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\9424e674c118634323e2aa85100ec70d\transformed\jetified-ve-flow-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\bc67ce597102ef5aa16e73c3ac1556c4\transformed\jetified-ve-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\eb264d726daaf91b487606d96d2820d9\transformed\jetified-ar-cloud-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\a09dfe7b5858d7bb6c71dac773928db8\transformed\jetified-camera-ui-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\bd423d636ea67250ae9274491c93b73b\transformed\jetified-ve-timeline-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\97cb9bf10ef7301d3a6834b19074e29b\transformed\jetified-ve-gallery-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\efd9cbccaee897248fc03e7d9b9c2d10\transformed\jetified-ve-export-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\6e78696c1299e47463dc1df5920eb4a2\transformed\jetified-ve-playback-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\3680d2548ba87042056b2476c9912bb3\transformed\jetified-ve-audio-browser-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes
ERROR:C:\Users\ASUS.gradle\caches\transforms-3\8f4b258eaf393a2466fae9d708f4fb0e\transformed\jetified-ve-ui-sdk-1.33.0-runtime.jar: D8: com.android.tools.r8.internal.nc: Sealed classes are not supported as program classes

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 camera-ui-sdk-1.33.0.aar (com.banuba.sdk:camera-ui-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\a09dfe7b5858d7bb6c71dac773928db8\transformed\jetified-camera-ui-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform core-sdk-1.33.0.aar (com.banuba.sdk:core-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\40444381b422ffb8fb228631642a0655\transformed\jetified-core-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform core-ui-sdk-1.33.0.aar (com.banuba.sdk:core-ui-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\2f02b067c25a7706ea1de05aa655c030\transformed\jetified-core-ui-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-flow-sdk-1.33.0.aar (com.banuba.sdk:ve-flow-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\9424e674c118634323e2aa85100ec70d\transformed\jetified-ve-flow-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-timeline-sdk-1.33.0.aar (com.banuba.sdk:ve-timeline-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\bd423d636ea67250ae9274491c93b73b\transformed\jetified-ve-timeline-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-sdk-1.33.0.aar (com.banuba.sdk:ve-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\bc67ce597102ef5aa16e73c3ac1556c4\transformed\jetified-ve-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-ui-sdk-1.33.0.aar (com.banuba.sdk:ve-ui-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\8f4b258eaf393a2466fae9d708f4fb0e\transformed\jetified-ve-ui-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-gallery-sdk-1.33.0.aar (com.banuba.sdk:ve-gallery-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\97cb9bf10ef7301d3a6834b19074e29b\transformed\jetified-ve-gallery-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ar-cloud-1.33.0.aar (com.banuba.sdk:ar-cloud:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\eb264d726daaf91b487606d96d2820d9\transformed\jetified-ar-cloud-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-audio-browser-sdk-1.33.0.aar (com.banuba.sdk:ve-audio-browser-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\3680d2548ba87042056b2476c9912bb3\transformed\jetified-ve-audio-browser-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-export-sdk-1.33.0.aar (com.banuba.sdk:ve-export-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\efd9cbccaee897248fc03e7d9b9c2d10\transformed\jetified-ve-export-sdk-1.33.0-runtime.jar.
Error while dexing.
Failed to transform ve-playback-sdk-1.33.0.aar (com.banuba.sdk:ve-playback-sdk:1.33.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for DexingNoClasspathTransform: C:\Users\ASUS.gradle\caches\transforms-3\6e78696c1299e47463dc1df5920eb4a2\transformed\jetified-ve-playback-sdk-1.33.0-runtime.jar.
Error while dexing.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 1m 21s
Exception: Gradle task assembleDebug failed with exit code 1

Hello, Rajkumar!

How are you doing today?
My name is Valeriya, I am a Customer Support Manager at Banuba, nice to meet you.

I apologize for getting back to you so late regarding the post you left 4 days ago. We will make sure to keep a more attentive eye to our community crew:)

I would love to help you out with the integration, but could you, please, submit an official support request using [the form] (Support for Banuba SDKs | Face AR SDK and Video Editor SDK) on our website?
That way it will be more convenient for both of us to communicate and for us to get you the assistance you need, sir.

If you need any help with filling out the form, please, let me know.
If you need us to reach out to you through an email in case filling out the form does not work for you, also, please, let me know.

Either way, I do not want you to think that we are ignoring you, we are always happy to assist. But doing it here would not be the most efficient way. Hence the link to the form.

Hoping to hear from you soon, sir.

Thank you!

no worries… actually I fixed the issue… In future if I need any help I will definitely contact your support

1 Like

Okay, thank you for letting us know!

We are always happy to assist:)

Have a great day!

As a side note, maybe you could share a bit more about the issue you have come across and how you managed to fix it?
It would be really helpful for other members of our Community Crew in case someone else has to deal with the same problem.

Of course, you do not have to but we would really appreciate if you could share your insights, Rajkumar.
Thank you :smiley:

sure😊
To solve the above issue…basically I made changes in two android files…
android/build.gradle

 dependencies {
        classpath 'com.android.tools.build:gradle:8.0.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }

android/gradle/gradle-wrapper.properties
added this distributionUrl

distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip

and all set…

2 Likes

Hello, Rajkumar!

Thank you for providing your solution, I am sure it will be beneficial for others as well!