AILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeDexRelease'. > Could not resolve all files for configuration ':app:releaseRuntimeClasspath'. > Failed to transform classes.jar (project :react-native-syan-image-picker) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, com.android.build.api.attributes.BuildTypeAttr=release, com.android.build.gradle.internal.attributes.VariantAttr=release, dexing-enable-desugaring=true, dexing-is-debuggable=false, dexing-min-sdk=21, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: /Users/sss/Desktop/voila/VoilaBioApp/node_modules/react-native-syan-image-picker/android/build/intermediates/runtime_library_classes_jar/release/classes.jar. > Error while dexing. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.3.1/userguide/command_line_interface.html#sec:command_line_warnings Execution optimizations have been disabled for 44 invalid unit(s) of work during this build to ensure correctness. Please consult deprecation warnings for more details. BUILD FAILED in 6m 54s
- cd android
- ./gradlew clean