title: Execution failed for task mockableAndroidJar
body: <p>When I try to build application I am getting this exception:</p>
  
  <pre><code>Execution failed for task ':app:mockableAndroidJar'.
  &gt; java.io.EOFException: Unexpected end of ZLIB input stream
  </code></pre>
  
  <p>This is fragment of stactrace:</p>
  
  <pre><code>Caused by: org.gradle.api.UncheckedIOException: java.io.EOFException: Unexpected end of ZLIB input stream
          at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:43)
          at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:78)
          at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
          at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
          at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
          at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:589)
          at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:572)
          at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
          at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
          ... 49 more
  Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
          at org.objectweb.asm.ClassReader.a(Unknown Source)
          at org.objectweb.asm.ClassReader.&lt;init&gt;(Unknown Source)
          at com.android.builder.testing.MockableJarGenerator.rewriteClass(MockableJarGenerator.java:126)
          at com.android.builder.testing.MockableJarGenerator.createMockableJar(MockableJarGenerator.java:91)
          at com.android.build.gradle.internal.tasks.MockableAndroidJarTask.createMockableJar(MockableAndroidJarTask.java:51)
          at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
  </code></pre>
  
  <p>Configuration: <code>com.android.tools.build:gradle:1.3.0</code>, <code>buildToolsVersion 23.0.2</code>, <code>gradle 2.4</code></p>
  
  <p>Cannot figure out whats wrong happening. It used to work and configuration wasn't change for ages. Please help.</p>