51Testing软件测试论坛

标题: cordova报错-之no usable Android build tools found [打印本页]

作者: 测试积点老人    时间: 2022-5-9 11:29
标题: cordova报错-之no usable Android build tools found
  1. What went wrong:
  2. A problem occurred evaluating script.

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

  4. Try:
  5. 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.

  6. Get more help at https://help.gradle.org/

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

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

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

  10. BUILD FAILED in 8s
  11. 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
复制代码
[attach]137890[/attach]
改了一天了还是没有解决办法。
环境变量配置都是对的好的可运行的如 sdk jdk gradle

作者: 郭小贱    时间: 2022-5-10 10:31
https://www.it1352.com/2591412.html
https://stackoverflow.com/questi ... ighest-30-x-install   
两个都可以参考看看。
作者: qqq911    时间: 2022-5-10 11:02
检查下环境
作者: bellas    时间: 2022-5-10 14:31
参考下这个链接https://www.it1352.com/2591412.html
作者: kallinr    时间: 2022-5-10 15:23
那就不知道了
作者: jingzizx    时间: 2022-5-10 18:08
其他工具是否有?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2