close

[Fixed] Execution failed for task ‘:app:checkDebugAarMetadata’

Today We are Going To Solve Execution failed for task ‘:app:checkDebugAarMetadata’ in React Native. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix Execution failed for task ‘:app:checkDebugAarMetadata’ Error?

  1. How to Fix Execution failed for task ‘:app:checkDebugAarMetadata’ Error?

    To Fix Execution failed for task ‘:app:checkDebugAarMetadata’ Error just Change compileSdkVersion. his will help you to solve your error. For this first of all navigate to app-level build.gradle file. And then change compileSdkVersion from 30 to 31 and Change targetSdkVersion from 30 to 31. By doing this you can solve your error completely. Try this.

  2. Execution failed for task ‘:app:checkDebugAarMetadata’

    To Fix Execution failed for task ‘:app:checkDebugAarMetadata’ Error just Rebuild the project. To solve the error first of all stop any proxy application on your computer. and just rebuild the project. It will help you.

Solution 1 : Change compileSdkVersion

This will help you to solve your error. For this first of all navigate to app-level build.gradle file. And then change compileSdkVersion from 30 to 31 and Change targetSdkVersion from 30 to 31. By doing this you can solve your error completely. Try this.

Solution 2 : Rebuild the project

To solve the error first of all stop any proxy application on your computer. and just rebuild the project. It will help you.

Solution 3 : Run create apk file cmd

Here you have to just run create apk file cmd and then run build cmd. It will remove your error.

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read This Solutions

Leave a Comment