Error: Your release platform does not have Api.js

$ionic cordova build – release android

cordova platform add release --save
:heavy_multiplication_x: Running command - failed!
[ERROR] Exception: Using cordova-fetch for release@^2.4.0

    Adding release project...
    Error: Your release platform does not have Api.js

Any clue, guys ?

Nevermind…The error is on the Ionic documentation itself, at http://ionicframework.com/docs/v1/guide/publishing.html

The command is not ionic cordova build – release android

it’s ionic cordova build android --release

Plz, someone ask to Ionic team to update the page !