title: phonegap, cordova can't add platform android
body: <p>I installed both <strong>phonegap</strong> and <strong>cordova</strong>. </p>
  
  <p>I created my project set my paths to tools. Now I enter my project through '<strong>cmd</strong>' I type:</p>
  
  <pre><code>cordova platform add android
  </code></pre>
  
  <p>Imagining that it will work but I get the below error:</p>
  
  <pre><code>Creating android project...
      Error: cmd: Command failed with exit code ENOENT
      at ChildProcess.whenDone &lt;C:\Users\-\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23
      at ChildProcess.EventEmitter.emit &lt;events.js:95:17&gt;
      at Process.ChildProcess._handle.onexit &lt;child_process.js:795:12&gt;
  </code></pre>
  
  <p>what could be the reason for this? what am I doing wrong? My thanks in advance.</p>
  
  <p>my PATH</p>
  
  <pre><code>D:\Development\Android\android-sdk\platform-tools;
  D:\Development\Android\android-sdk\tools;
  D:\Development\eclipse\plugins\org.apache.ant_1.8.4.v201303080030\bin;
  C:\Program Files\Java\jdk1.7.0_51\bin;C:\Program Files\Java;
  C:\Program Files\nodejs\;C:\Users\-\AppData\Roaming\npm
  </code></pre>