Fixing the "4 issues were found when checking AAR metadata" Error The error Execution failed for task ':app:checkDebugAarMetadata' is a common but frustrating build failure in Android Studio. It indicates a problem with the metadata of one or more Android Archive (AAR) libraries your project depends on. This guide will help you diagnose the root cause and provide step-by-step solutions to resolve it. Step 1: Diagnose the Problem The error message is generic. To find the specific culprit, you need more detailed logs. Open the Terminal in Android Studio ( View > Tool Windows > Terminal ). Run one of the following commands to get verbose output: bash ./gradlew :app:checkDebugAarMetadata --info or for even more detail: bash ./gradlew :app:checkDebugAarMetadata --debug Scan the output for lines containing "AAR metadata" or specific library names. The log will explicitly tell you which library is causing the issue and why (e.g., minSdkVersion ...