title: Getting Error Message Error: spawn EACCES using IONIC Framework
body: <p>I am trying to learn ionic cross platform tool. i have setup thing required for example application <code>ionic serve</code>  is working fine but when i try to run <code>sudo ionic build android</code>  or <code>sudo ionic run/emulate android</code> it returns with error message. </p>
  
  <pre><code>Error: spawn EACCES
      at exports._errnoException (util.js:746:11)
      at ChildProcess.spawn (child_process.js:1162:11)
      at Object.exports.spawn (child_process.js:995:9)
      at Object.exports.spawn (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:103:31)
      at runScriptViaChildProcessSpawn (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:189:23)
      at runScript (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:132:16)
      at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:115:20
      at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/usr/lib/node_modules/cordova/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/usr/lib/node_modules/cordova/node_modules/q/q.js:749:13)
  </code></pre>
  
  <p>i am unable to understand what does its mean. i have google this thing but after appling all of those solutions i got same error. i ll highly thankful if any one can tell me what is going wrong with me.</p>