title: Phone Gap [error] cmd: Command failed with exit code ENOENT
body: <p>I am trying to get phone gap to work on android and my command outputs the following: </p>
  
  <pre><code>phonegap build android
  [phonegap] detecting Android SDK environment...
  [phonegap] using the local environment
  [phonegap] adding the Android platform...
  [error] cmd: Command failed with exit code ENOENT
  </code></pre>
  
  <p>When searching this error message I get a lot of hits, but everyone else seems to have much more verbose error messages, when this is all I get. Even with the -d or -v option that is what I get. </p>
  
  <p>I am using Windows 7 x64</p>
  
  <p>My PATH variable looks like this: </p>
  
  <pre><code>%JAVA_HOME%\bin;C:\Users\Mike\AppData\Roaming\npm;%ANDROID_HOME%\platform-tools;%ANDROID_HOME%\tools;%ANT_HOME%\bin;C:\Program Files\nodejs;
  </code></pre>
  
  <blockquote>
    <p>%JAVA_HOME% , %ANDROID_HOME% and %ANT_HOME%</p>
  </blockquote>
  
  <p>all lead to the correct places when I type them into my search bar. </p>
  
  <p>Just typing "java" and "ant" into my command line gives me results. </p>
  
  <p>Any ideas where I should start looking? Are there error logs somewhere? </p>