How to solve the Android apk build error

I am trying to build Apk in ionic v1 but I am getting error like.
{Unable to load PlatformApi from platform. Error [ERR_UNHANDLED_ERROR]: Unhandled error. (‘Does not appear to implement platform Api.’)
Unhandled error. (‘The platform “android” does not appear to be a valid cordova platform. It is missing API.js. android not supported.’)
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd platform add android@4.1.1 exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
How to solve this can anyone please help?