react-native-video: [BUG]: Execution failed for task ':app:mergeExtDexTvDebug' after updating repo to 6.4+
Version
6.4.0+
What platforms are you having the problem on?
Android TV
System Version
10
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
The project build fails after updating the repo to the latest version (6.4.3). I also tried 6.4.0 with the same outcome so I assumed that it is an issue with versions 6.4+. I tried changing the Kotlin version to 1.9.0 because some logs before the error pointed out incompatible versions but it also didn’t fix this issue.
`ERROR:D8: com.android.tools.r8.kotlin.H
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ‘:app:mergeExtDexTvDebug’.
Could not resolve all files for configuration ‘:app:tvDebugRuntimeClasspath’. Failed to transform okio-jvm-3.6.0.jar (com.squareup.okio:okio-jvm:3.6.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=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=releas e, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}. Execution failed for DexingWithClasspathTransform: C:\Users\macie.gradle\caches\transforms-3\7a5b0e04df4def315618bf1f7df31fc6\transformed\jetified-okio-jvm-3.6.0.jar.
Error while dexing.
Reproduction
repository link
Reproduction
In my project just updating the repository and running the project causes the issue.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16
I’m confirming what’s @sonodima said, if I set minSdkVersion from 21 to 24, it’s working.