title: Gradle error, failed to create directory
body: <p>today jump into such problem when launching test class using roboelectric and junit:</p>
  
  <pre><code>Information:Gradle: Executing tasks: [:app:assembleDebug, :app:assembleDebugUnitTest]
  Error:Gradle: failed to create directory 'E:\AndroidKotlin\FooApp\app\build\generated\source\r\debug\com\example\foo\fooapp'
  Error:Gradle: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
  Error:Gradle: com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
  Error:Gradle: Execution failed for task ':app:processDebugResources'.
  &gt; Failed to execute aapt
  </code></pre>
  
  <p>Maybe someone has meet such nasty thing earlier and would be so nice to help me ;) ? If u don't have any idea, please let me know how can I try finding it on my own. I already did clean project and rebuild :)</p>