I use local gradle version 2.4 and IntelliJ IDEA 14.1.3. When I start the project from IntelliJ, it works fine, but when the command is executed gradle clean buildfrom the command line, it gives a leaking exception and the assembly fails.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mockableAndroidJar'.
> java.util.zip.ZipException: invalid entry compressed size (expected 2051 but got 2050 bytes)
source
share