Gradle 2.2.0 execution failed: SymbolForDebug
<p>After upgrading gradle of my project (and library attached to it) from 2.1.3 -> 2.2.0 it doesn't build anymore and it says:</p>

<blockquote>
  <p>Error:Execution failed for task ':app:transformNative_libsWithStripDebugSymbolForDebug'.
  java.lang.NullPointerException (no error message)</p>
</blockquote>

<p>Anyone have a clue on why this is?</p>