title: '"aapt.exe'' finished with non-zero exit value' crash when I add a raw resource folder
body: <p>I have an Android application (gradle 2.1.0, SDK level 22) that includes an AAR. Everything works fine until I add a resource in res/raw in the main application, then I get this crash on running assembleDebug:</p>
  
  <pre><code>Error:Execution failed for task ':app:processDebugResources'.
  &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\Android\SDK\build-tools\21.0.0\aapt.exe'' finished with non-zero exit value -1073741819
  </code></pre>
  
  <p>The exact command that fails is:</p>
  
  <pre><code>E:\Android\SDK\build-tools\21.0.0\aapt.exe package -f --no-crunch -I E:\Android\SDK\platforms\android-22\android.jar -M E:\Morganarium\MercenaryTech\FogCity\CoreV2\androidVS2015\FCL\OovooTest\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S E:\Morganarium\MercenaryTech\FogCity\CoreV2\androidVS2015\FCL\OovooTest\app\build\intermediates\res\merged\debug -A E:\Morganarium\MercenaryTech\FogCity\CoreV2\androidVS2015\FCL\OovooTest\app\build\intermediates\assets\debug -m -J E:\Morganarium\MercenaryTech\FogCity\CoreV2\androidVS2015\FCL\OovooTest\app\build\generated\source\r\debug -F E:\Morganarium\MercenaryTech\FogCity\CoreV2\androidVS2015\FCL\OovooTest\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package com.oovoo.sdk.oovoosdksampleshow -0 apk --output-text-symbols E:\Morganarium\MercenaryTech\FogCity\CoreV2\androidVS2015\FCL\OovooTest\app\build\intermediates\symbols\debug
  </code></pre>
  
  <p>There's no error just a hard crash in aapt.exe</p>
  
  <p>Some of the other threads on this suggest it's caused by a clash between files in the main application and the merged AAR. But there is no res/raw folder in the included AAR, and the crash happens even if I put a dummy "foo.txt" resource in res/raw (and goes away if I delete res/raw).</p>
  
  <p>Any thoughts?  Thanks all</p>