Your command: ionic cordova build androird is wrong
I think you means: ionic cordova build android
But try also: ionic cordova build --release android
I had the same error, after 2 days of debugging I found a solution for me:
in the directory: platforms/android/cordova
I updated in the file Api.js the locations object, because the path are not correct.
current locations object look like this in my Api.js:
this.locations = {
root: self.root,
www: path.join(self.root, 'assets/www'),
res: path.join(self.root, 'res'),
platformWww: path.join(self.root, 'platform_www'),
configXml: path.join(self.root, 'app/src/main/res/xml/config.xml'),
defaultConfigXml: path.join(self.root, 'cordova/defaults.xml'),
strings: path.join(self.root, 'app/src/main/res/values/strings.xml'),
manifest: path.join(self.root, 'app/src/main/AndroidManifest.xml'),
build: path.join(self.root, 'build'),
javaSrc: path.join(self.root, 'app/src/main/java/'),
// NOTE: Due to platformApi spec we need to return relative paths here
cordovaJs: 'bin/templates/project/assets/www/cordova.js',
cordovaJsSrc: 'cordova-js-src'
};
After these change I was able to build my app.
I had also errors because of plugins like cordova-sqlite-storage so I removed it and build the app.
I hope it helps