You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After upgrading to v2.5.0 from 2.4.0 inorder to fix the issue: search_controller_crash , the build fails on Android. It looked like incomptability issue with some library, but despite the upgrades, the build still fails with Exception Task :app:mergeExtDexSitDebug FAILED.
To Reproduce
Steps to reproduce the behavior:
install 2.5.0 adyen version
2.Go to 'cd android'
'./gradlew assembleDebug'
See error > Task :app:mergeExtDexSitDebug FAILED
Expected behavior
The build should be successful as it is with the version 2.4.0.
Stack Traces
> Task :app:mergeExtDexSitDebug FAILED
ERROR:/Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeExtDexSitDebug'.
> Could not resolve all files for configuration ':app:sitDebugRuntimeClasspath'
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, 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/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
> Failed to transform fragment-1.8.5.aar (androidx.fragment:fragment:1.8.5) to match attributes {artifactType=android-dex, asm-transformed-variant=sitDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/user/.gradle/caches/transforms-3/e21b4a742ef330eaded788a2a91d7053/transformed/fragment-1.8.5-runtime.jar.
> Error while dexing.
Desktop (please complete the following information):
OS: Mac OS 15.1 Sequoia
Android Studio v Android Studio Ladybug | 2024.2.1 Patch 2
React native - "0.69.12"
"@adyen/react-native": "2.5.0"
Gradle Version : "7.3.3"
AGP : "7.2.2"
Additional context
First we thought it's the issue with other dependencies, but even after updating we get the same error, and to remove that error we had to downgrade to "@adyen/react-native": "2.4.0" .
After that we also explore Multidexing as the error was for dexing, and followed this answer , However, we still got the same issue.
The text was updated successfully, but these errors were encountered:
Your both Gradle and AGP are old, I am afraid.
According to Google, Android API level 34 (all apps must target it since September 2024) requires AGP version 8.1 at least.
Describe the bug
After upgrading to v2.5.0 from 2.4.0 inorder to fix the issue: search_controller_crash , the build fails on Android. It looked like incomptability issue with some library, but despite the upgrades, the build still fails with Exception
Task :app:mergeExtDexSitDebug FAILED
.To Reproduce
Steps to reproduce the behavior:
2.Go to 'cd android'
> Task :app:mergeExtDexSitDebug FAILED
Expected behavior
The build should be successful as it is with the version 2.4.0.
Stack Traces
Desktop (please complete the following information):
Additional context
First we thought it's the issue with other dependencies, but even after updating we get the same error, and to remove that error we had to downgrade to "@adyen/react-native": "2.4.0" .
After that we also explore Multidexing as the error was for dexing, and followed this answer , However, we still got the same issue.
The text was updated successfully, but these errors were encountered: