Hi Every one.
My React Native 0.675, using gradle 6.8.1 and dependencies classpath(“com.android.tools.build:gradle:4.1.2”)
build normal before I need update to build.gradle file to compileSdkVersion = 34 and targetSdkVersion = 34,
withoud this update android sdk security not build anymore app.
So I try help of issues track of Android recomendet add in gradle.properties:
android.jetifier.blacklist=annotation-experimental-1.4.0.aar, appcompat-1.1.0.aar, core-1.14.0-alpha01.aar
but Not work too.
issue remains in build using yarn android.
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 appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) to match attributes {artifactType=android-dex, dexing-enable-desugaring=true, dexing-incremental-transform=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: C:\Users\Italo\.gradle\caches\transforms-3\ba947ad51f3342d4b3c85485a645ef4b\transformed\appcompat-1.1.0-runtime.jar.
> Error while dexing.
> Failed to transform appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) to match attributes {artifactType=android-dex, dexing-enable-desugaring=true, dexing-incremental-transform=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: C:\Users\Italo\.gradle\caches\transforms-3\ba947ad51f3342d4b3c85485a645ef4b\transformed\appcompat-1.1.0-runtime.jar.
> Error while dexing.
> Failed to transform core-1.14.0-alpha01.aar (androidx.core:core:1.14.0-alpha01) to match attributes {artifactType=android-dex, dexing-enable-desugaring=true, dexing-incremental-transform=false, 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: C:\Users\Italo\.gradle\caches\transforms-3\6d7063ac7fade12a805d4f76aba981a4\transformed\core-1.14.0-alpha01-runtime.jar.
> Error while dexing.
> Failed to transform core-1.14.0-alpha01.aar (androidx.core:core:1.14.0-alpha01) to match attributes {artifactType=android-dex, dexing-enable-desugaring=true, dexing-incremental-transform=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: C:\Users\Italo\.gradle\caches\transforms-3\6d7063ac7fade12a805d4f76aba981a4\transformed\core-1.14.0-alpha01-runtime.jar.
> Error while dexing.
thanks for any help.