Android SDK Build Tools on Azure DevOps Pipelines

I’m having a serious problem trying to create an Android CI/CD in Azure DevOps. My application is an Android application with Cordova.

When I build that in Azure DevOps tools my pipeline has a error message:

Could not determine the dependencies of task ‘:app:compileReleaseJavaWithJavac’.

Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.

How can I solve this problem?