cordova报错-之no usable Android build tools found

What went wrong:
A problem occurred evaluating script.

No usable Android build tools found. Highest 30.x installed version is 30.0.1; Recommended version is 30.0.3.

  • 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/

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
Command failed with exit code 1: C:\Users\APRIL\Desktop\code\Cordova\blog-w\platforms\android\gradlew cdvBuildDebug -b C:\Users\APRIL\Desktop\code\Cordova\blog-w\platforms\android\build.gradle

img

改了一天了还是没有解决办法。
环境变量配置都是对的好的可运行的如 sdk jdk gradle