RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.81k stars 405 forks source link

DEX error after updating Gradle and Kotlin version #426

Open fearsom03 opened 1 year ago

fearsom03 commented 1 year ago

error after updating Gradle and Kotlin version

sourceCompatibility JavaVersion.VERSION_17
 targetCompatibility JavaVersion.VERSION_17

distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip

Execution failed for task ':app:mergeExtDexDebug'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform fotoapparat-2.7.0.aar (io.fotoapparat.fotoapparat:fotoapparat:2.7.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.status=release, org.gradle.usage=java-runtime}. Execution failed for DexingWithClasspathTransform: /Users/name/.gradle/caches/transforms-3/fa3761e833452775d6f8e17ff18f4308/transformed/jetified-fotoapparat-2.7.0-runtime.jar. Error while dexing.

dsvoronin commented 1 year ago

looks like a duplicate of #425