title: An error occured during creation of android sub-project
body: <p>I installed cordova e phonegap via <strong>npm install -g cordova</strong> and <strong>npm install -g phonegap</strong> respectively. Then i created a HelloWorld application via <strong>cordova create HelloWorld mynamespace.helloworld HelloWorld</strong>. It worked fine! Then i changed my working directory to HelloWorld and i tried to build the app for android via <strong>cordova platform add android -d</strong> but it didn't work. here is the output:</p>
  
  <pre><code>Installing cordova library for android...
  Requesting {"uri":"https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=snapshot;h=3.3.0;sf=tgz"}...
  Downloading cordova library for android...
  Downloaded, unzipped and extracted 541065 byte response.
  Download complete
  Installing cordova library for android...
  Checking if platform "android" passes minimum requirements...
  Creating android project...
  Running bin/create for platform "android" with command:     ""C:\Users\marcos.pacheco\.cordova\lib\android\cordova\3.3.0\bin\create"  "C:\Dev\HelloWorld\platforms\android" "mynamespace.helloworld" "HelloWorld"" (output to follow)
  
  
  C:\Users\marcos.pacheco\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
                  throw e;
                        ^
  Error: An error occured during creation of android sub-project.
  
  at C:\Users\marcos.pacheco\AppData\Roaming\npm\node_modules\cordova\src\platform.js:244:30
  at exithandler (child_process.js:633:7)
  at ChildProcess.errorhandler (child_process.js:649:5)
  at ChildProcess.EventEmitter.emit (events.js:95:17)
  at Process.ChildProcess._handle.onexit (child_process.js:787:12)
  </code></pre>
  
  <p>I've googled and have found some issues with <strong>whitespaces</strong> but my project is in the C:\Dev\HelloWorld path and my android sdk is in the <strong>PATH</strong> so that when i type <strong>adb</strong> at the windows prompt i get the help information of the command as well Java and Ant. Furthermore, i have <strong>ANT_HOME</strong>, <strong>JAVA_HOME</strong> and <strong>ANDROID_HOME</strong> set. I also deleted the ** .cordova ** folder inside my <strong>%HOMEPATH%</strong> directory and entered the command again but the error is still there.</p>
  
  <p>What might be wrong?</p>