Android build success but failed

BUILD SUCCESSFUL in 8s
45 actionable tasks: 1 executed, 44 up-to-date

FAILURE: Build failed with an exception.

  • What went wrong:
    Already finished

  • Try:
    Run with --stacktrace option to get the stack trace. Run with
    –info or --debug option to get more log output.

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

BUILD FAILED
in 8s
(node:11528) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • What went wrong:
    Already finished

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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

How to fix this…??

What is your ionic info output?
What exact command are you running here?