Unable to find EOCD signature

Dear Game Developers,
I have this error and I couldn’t find solution in almost 3 days researching. I have changed build folder. I have removed cache folder inside .gradle. I did invalidate and restart on Android Studio etc. Please help me to solve this problem if you know the solution.
Event I thought about to rewrite my game with other Engine because of this stupid error :frowning:



LogPlayLevel: > Task :app:validateSigningDebug UP-TO-DATE
LogPlayLevel: > Task :app:packageDebug FAILED
LogPlayLevel: FAILURE: Build failed with an exception.
LogPlayLevel: * What went wrong:

Execution failed for task ':app: PackageDebug'.
LogPlayLevel: > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
LogPlayLevel: > Unable to find EOCD signature

I’m having the same issue. Seems to be related to accepting the SDK license, but I have and the platform files are writable… the bar is green… and it still fails.

> Unable to find EOCD signature

Don’t know why gradle can’t find the authorization.

I also have accepted licence few times. But still have issue. P.S.: I didn’t get this error on MacOS. I think it is something windows related issue.

Just in case someone else pick this topic, just delete the intermediate folder from the UE4 project, it will fix the problem. We facing the same issue every time we change the APK version number (UE 4.26.2).

5 Likes

Thx ! It work for me