title: Sencha Command failing native android packaging on ubuntu
body: <p>I am on a dual-boot windows 8/Ubuntu machine. The same piece of code works fine on Windows 8, but fails on ubuntu, when I fire <strong>sencha app build native</strong> command.</p>
  
  <p>I am trying to package android app, and using <strong>Sencha Cmd v4.0.4.84</strong>.</p>
  
  <p>Below is the error log tail:</p>
  
  <pre><code>[INF] init:
  [INF] 
  [INF] -before-phonegap-init:
  [INF] 
  [INF] -phonegap-init:
  [INF] 
  [INF] -after-phonegap-init:
  [INF] 
  [INF] phonegap-init:
  [INF] 
  [INF] -before-phonegap:
  [INF] 
  [INF] phonegap-copy-build:
  [INF] 
  [INF] -before-phonegap-copy-build:
  [INF] 
  [INF] -phonegap-copy-build:
  [INF] 
  [INF] -after-phonegap-copy-build:
  [INF] 
  [INF] -phonegap-build:
  [INF] 
  [INF] -phonegap-local-build:
  [INF] [shellscript] [phonegap] compiling Android...
  [INF] [shellscript] [ReferenceError: a is not defined]
  [INF] [shellscript] execvp(): Permission denied
  [INF] [shellscript] '{' [Error: /home/compUser/projWorkspace/proj/SomeApp/phonegap/platforms/android/cordova/build: Command failed with exit code EACCES] code: '''EACCES''' '}'
  [INF] [shellscript]    [error] /home/compUser/projWorkspace/proj/SomeApp/phonegap/platforms/android/cordova/build: Command failed with exit code EACCES
  [INF] 
  [INF] -phonegap-run:
  [INF] 
  [INF] -after-phonegap:
  [INF] 
  [INF] -native-package:
  [INF] 
  [INF] -after-native-package:
  [INF] 
  [INF] -build:
  [INF] 
  [INF] -after-build:
  [INF] 
  [INF] build:
  [INF] 
  [INF] app-build:
  </code></pre>
  
  <p>When I cd to the directory: <em>/home/compUser/projWorkspace/proj/SomeApp/phonegap/platforms/android/cordova/build</em>, and fire "phonegap local build android", I get the same error, which is,</p>
  
  <pre><code>[phonegap] compiling Android...
  [ReferenceError: a is not defined]
  execvp(): Permission denied
  { [Error: /home/devesh/rxWorkspace/rx/RxApp/phonegap/platforms/android/cordova/build: Command failed with exit code EACCES] code: 'EACCES' }
     [error] /home/devesh/rxWorkspace/rx/RxApp/phonegap/platforms/android/cordova/build: Command failed with exit code EACCES
  </code></pre>
  
  <p>I am wondering if something is wrong with the phonegap configuration on ubuntu.</p>
  
  <p>PS: I have thoroughly verified the file-system permissions, and its not an issue.</p>