truecaller / flutter-sdk

Flutter plugin that uses Truecaller's Android SDK to provide mobile number verification service to verify users.
https://pub.dev/packages/truecaller_sdk
MIT License
24 stars 41 forks source link

merger dex throwing error in flutter #48

Open sunil-singh-chaudhary opened 8 months ago

sunil-singh-chaudhary commented 8 months ago

Execution failed for task ':app:mergeExtDexDebug'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform truecaller-sdk-3.0.0.aar (com.truecaller.android.sdk:truecaller-sdk:3.0.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=22, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. Execution failed for DexingWithClasspathTransform: /Users/sunilsingh/.gradle/caches/transforms-3/f1dc8b5454f6833ac4870e59b83ad0ba/transformed/jetified-truecaller-sdk-3.0.0-runtime.jar. Error while dexing.

Prashant4900 commented 5 months ago

@sunil-singh-chaudhary Have you got any solution?

sunil-singh-chaudhary commented 5 months ago

@sunil-singh-chaudhary Have you got any solution?

didnt remember but i think downgrading the distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip will work check yours

utkarshkumar387 commented 5 months ago

@Prashant4900 Did this issue get resolved for you? If yes then can you please share the solution

MikeITG commented 2 months ago

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform truecaller-sdk-3.0.0.aar (com.truecaller.android.sdk:truecaller-sdk:3.0.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=23, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. Execution failed for DexingWithClasspathTransform: C:\Users\train.gradle\caches\transforms-3\45f2ec39152985aa87b397544e3341c1\transformed\jetified-truecaller-sdk-3.0.0-runtime.jar. Error while dexing.

     How we fix it ?