When running ionic build android getting the build command has been renamed

The Build command has been renamed.To find out more.run

ionic cordova build --help

can anyone tell me which command i need to use.

you must be using cli 3.command in cli 3 is
"ionic cordova build "