How to fix this problem, in the between my process build android cordova

  • 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

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

Command failed with exit code 1: C:\Users\User\Downloads\ionicfix\ioniclastest\platforms\android\gradlew cdvBuildDebug -b C:\Users\User\Downloads\ionicfix\ioniclastest\platforms\android\build.gradle
[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

i don’t know, beacuse this problem is very confusing to me. :frowning:

Does it work when you try to remove the android project ant add it again?

ionic cordova platform rm android
ionic cordova platform add android@latest
ionic cordova build android --prod

thank you, and now ionic was fixed by me alone, after research logic the error, sorry my english bad btw