Execution failed for task ':app:packageLiteDebug', unable to find EOCD signature

125 Views Asked by At

The build error is occuring while building a signed debug-apk.

Execution failed for task ':app:packageLiteDebug'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

   Unable to find EOCD signature
1

There are 1 best solutions below

0
Avinash Kumar On

Solution:

  1. Clean and rebuild the project: This error can sometimes be caused by a corrupted build output file. Try cleaning your project and rebuilding it to see if this resolves the issue.

  2. In my case, it's the debug apk in the build folder which was corrupted, so deleted the whole build folder and created a signed debug apk. It builded it perfectly.