Error when run "npm run build-cordova"

Hello.

I have a error when run the “npm run build-cordova”, the error is:


FAILURE: Build failed with an exception.

  • Where:
    Script ‘C:\XXX\XXXXX\Documents\Movil Demo\RFID BLUETOOTH\cordova\platforms\android\CordovaLib\cordova.gradle’ line: 69

  • What went wrong:
    A problem occurred evaluating script.

No installed build tools found. Install the Android build tools version 30.0.3 or higher.

  • 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 Command-Line Interface

The problem told me that error is “No installed build tools found. Install the Android build tools version 30.0.3 or higher.”

But I have installed the android tools 32.0.0

The error occurred then install the latest versión of framework7.

1 Like

Use my tuto. Work for me with last versión of f7.