[ERROR] An error occurred while running sub process cordova

CordovaError: Promise rejected with non-error: Failed to prepare plug-in for android :
An unexpected error occurred. Contact IBM support.
at C:\Users\leele\AppData\Roaming\npm\node_modules\cordova\bin\cordova:30:15
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd platform add android@7.1.0 exited with exit code 1.

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