Solution to the Error ‘Execution failed for task ‘:app:checkDebugAarMetadata” when running our Android Studio application

Tiempo de lectura: < 1 minuto

Reading Time: < 1 minute

Good morning everyone,

In this tutorial, I’m going to explain how to solve the following error that occurs whenever we try to run our application.

Initially, it is a problem with the Android dependencies.

In some cases, simply changing the SDK version in the build.gradle file from 29 to 30 is more than enough:

Usually the SDK version is set to 29, it needs to be changed to 30

If the problem persists and the app still fails to run, we need to do the following:

Go to the gradle.properties file and add the following lines:

android.useAndroidX=true
android.enableJetifier=true

I hope this helps. Happy Monday!!

Leave a Comment