WINDOWS for ionic+android development, error installing android platform support

WINDOWS for ionic+android development

error installing android platform support

error message is as follows:

D:\projects\MyIonicProject>ionic cordova platform add android
> cordova platform add android --save
Using cordova-fetch for cordova-android@~7.0.0

(node:24964) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch platform cordova-android@~7.0.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code E400
npm ERR! 400 Bad Request: cordova-android@~7.0.0

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\nodejs\node_cache\_logs\2018-03-30T03_48_58_666Z-debug.log
(node:24964) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Feb.28,2021

how should the proxy be set up in this case?

Menu