* Exception is:
org.gradle.internal.execution.WorkValidationException: Some problems were found with the configuration of task ':app:mergeLibDexDebug' (type 'DexMergingTask').
- Gradle detected a problem with the following location: '/Users/mac1/Desktop/project/jubilant-mobileapp/android/app/build/intermediates/duplicate_classes_check/debug/checkDebugDuplicateClasses'.
Reason: Task ':app:mergeLibDexDebug' uses this output of task ':app:copyDebugIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':app:copyDebugIconFonts' as an input of ':app:mergeLibDexDebug'.
2. Declare an explicit dependency on ':app:copyDebugIconFonts' from ':app:mergeLibDexDebug' using Task#dependsOn.
3. Declare an explicit dependency on ':app:copyDebugIconFonts' from ':app:mergeLibDexDebug' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.8/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
- Gradle detected a problem with the following location: '/Users/mac1/Desktop/project/jubilant-mobileapp/android/app/build/intermediates/merged_startup_profile/debug/mergeDebugStartupProfile/startup-prof.txt'.
Android Studio erro while running app
Gradle configaurations
build.gradle:
minSdkVersion = 23;
compileSdkVersion = 34;
targetSdkVersion = 34;
ndkVersion = "26.1.10909125";
kotlin_version = '1.9.0';
I tried all possible solutions but nothing worked.
I need to come up over the error.
New contributor
Rajat Nanavati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.