Any idea please?
When create apk for debug
Error: Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=~~/androidSDK (recommended setting)
ANDROID_HOME=~~/androidSDK (DEPRECATED)
Using Android SDK: ~~/androidSDK
:wrapper
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Configure project :CordovaLib
[Cordova] cdvMinSdkVersion is overridden, try it at your own risk.
Build-tool 31.0.0 is missing DX at ~~/dx
Build-tool 31.0.0 is missing DX at ~~/dx
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https:/~~/help.gradle.org
BUILD FAILED in 1s
Command failed with exit code 1: ~~/gradlew cdvBuildDebug -b ~~/build.gradle