ionic cordova build --device
? What platform would you like to build: ios, android: andriod
cordova platform add andriod --save
Running command - failed!
[ERROR] Exception: Using cordova-fetch for andriod
Error: Failed to fetch platform andriod Probably this is either a connection problem, or platform spec is incorrect. Check your connection and platform name/version/URL. Error: npm: Command failed with exit code 1 Error output: npm ERR! Linux 3.13.0-117-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "andriod" "--save" npm ERR! node v7.9.0 npm ERR! npm v4.2.0 npm ERR! code E404 npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/andriod npm ERR! 404 npm ERR! 404 'andriod' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! Please include the following file with any support request: npm ERR! /home/nauman/.npm/_logs/2017-08-23T07_13_42_928Z-debug.log