「已注销」 2022-05-08 22:52 采纳率: 0%
浏览 587
已结题

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

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 5月16日
    • 创建了问题 5月8日