生成失败,出现异常cordova

hivapdat  于 2022-11-15  发布在  其他
关注(0)|答案(1)|浏览(182)

今天我正在安装 cordova 的软件实现代码html在一个应用程序。首先你必须创建一个项目和浏览器。我想使用这个也为Android所以你必须添加Android到一个平台。在我想编译这个平台的时刻,我有一个错误,停止所有的编译,我不知道该怎么做来解决这个错误。我添加代码错误。

* Where:
Script 'C:\Users\leti\Aplicaciones\PrimeraApp\platforms\android\CordovaLib\cordova.gradle' line: 75

* What went wrong:
A problem occurred evaluating script.
> No usable Android build tools found. Highest 30.x installed version is 30.0.2; minimum version required 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 5s
Command failed with exit code 1: C:\Users\leti\Aplicaciones\PrimeraApp\platforms\android\gradlew cdvBuildDebug -b C:\Users\leti\Aplicaciones\PrimeraApp\platforms\android\build.gradle
fd3cxomn

fd3cxomn1#

它会在您的错误消息中说明

> No usable Android build tools found. Highest 30.x installed version is 30.0.2; minimum version required is 30.0.3.

将构建工具更新到30.0.3

相关问题