Error generating the apk using "ionic cordova run android --prod --release"

Hi, I have a query, run the ionic command “Cordova platform add android” but I get the following message “[ERROR] Unable to find command: Cordova platform add android”.

My application works fine when I run ionic serve but when I want to generate the apk I get that error.
Can you help me please?


ionic cordova plarform add android