测试积点老人 发表于 2022-5-9 11:29:36

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
改了一天了还是没有解决办法。
环境变量配置都是对的好的可运行的如 sdk jdk gradle

郭小贱 发表于 2022-5-10 10:31:12

https://www.it1352.com/2591412.html
https://stackoverflow.com/questions/70002327/ionic-cordova-android-no-usable-android-build-tools-found-highest-30-x-install   
两个都可以参考看看。

qqq911 发表于 2022-5-10 11:02:34

检查下环境

bellas 发表于 2022-5-10 14:31:47

参考下这个链接https://www.it1352.com/2591412.html

kallinr 发表于 2022-5-10 15:23:26

那就不知道了

jingzizx 发表于 2022-5-10 18:08:21

其他工具是否有?
页: [1]
查看完整版本: cordova报错-之no usable Android build tools found