title: "[aapt] ERROR: Unknown option '--generate-dependencies'" for ant debug of HelloWorld
body: <p>Trying to create/run the HelloWorld android app, building via <code>ant debug</code> fails with an unknown option in aapt. Nothing has been done to the project aside from generation itself with <code>android create project</code></p>
  
  <p>What causes this error? How are projects created with android create built?</p>
  
  <hr>
  
  <pre><code>$ ant debug
  ...
  [renderscript] No renderscript files to compile.
         [echo] ----------
         [echo] Handling Resources...
         [aapt] Generating resource IDs...
         [aapt] ERROR: Unknown option '--generate-dependencies'
         [aapt] Android Asset Packaging Tool
         ...aapt usage...
  </code></pre>
  
  <p><a href="http://pastebin.com/1v4Y0wxh" rel="nofollow">full output (pastebin)</a></p>
  
  <p>The project was created with</p>
  
  <pre><code>$ android create project -t 2 -p ./HelloWorld -a HelloWorldActivity -k com.example.helloworld
  </code></pre>
  
  <p>ant is v1.8.2 <br>
  android-sdk version is r15-1</p>
  
  <pre><code>$ android list targets
  Available Android targets:
  ----------
   id: 1 or "android-8"
   Name: Android 2.2
   Type: Platform
   API level: 8
   Revision: 2
   Skins: WQVGA432, WQVGA400, WVGA800 (default), QVGA, HVGA, WVGA854
   ABIs : armeabi
  ----------
   id: 2 or "android-13"
   Name: Android 3.2
   Type: Platform
   API level: 13
   Revision: 1
   Skins: WXGA (default)
   ABIs : armeabi
  </code></pre>