Android-deploy error - Execution of compression failed

Hi,

During gradle clean build for the android_deploy app, I am getting the following error:

Task :app:packageDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong:

Execution failed for task ‘:app:packageDebug’. Execution of compression failed.

looks like something to do with the extraction.zip file

I am using ubuntu on WSL. Gradle 5.4.1.

Thanks for the help!

Trying increasing the heap size of your JVM, this can be an issue because the models can be fairly large and decompression happens “in” the JVM stack.

1 Like