Failed to find target with hash string ‘android-25’

Any idea how to resolve this issue??

BUILD FAILED

Total time: 4 mins 0.814 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

Failed to find target with hash string ‘android-25’ in: C:\Users\Axe\AppData\Local\Android\sdk

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

[ERROR] An error occurred while running cordova build android (exit code 1).

Seems you don’t have the required Android target installed.

Is ionic cordova requirements happy?
What is your ionic info output?