Error:Execution failed for task ':app:mergeDebugResources'. > java.lang.ArrayIndexOutOfBoundsException (no error message)
<p>Does anyone of you guys know this exception in Gradle build?</p>

<pre><code>Error:Execution failed for task ':app:mergeDebugResources'.
&gt; java.lang.ArrayIndexOutOfBoundsException (no error message)
</code></pre>

<p>My project worked fine, until I implemented a Video player in a new activity that parses a MP4 file from the SD-Card. Then I got this exception. After that I updated Android Studio, I cleaned the project, I relocated it, I rebuilt it. This all didn´t solve the problem.
 Then I uncommented path calls for the case that this error happens because the generated build file path exceeds the windows max path length of 255 characters. This also didn´t work.</p>

<p>I would be thankful for any hint!</p>