I got this error when trying to export a signed apk in Eclipse
Error while running zipalign: Unable to open as zip archive
I have run the Help->Check for Updat
This issue occurred for me when I had my project's bin
folder open in Windows Explorer.
I then tried to delete my old apk file (which the Export
tool was unsuccessfully trying to overwrite), but I couldn't do that as I didn't have the necessary permission or because some other process had a lock on the file.
The solution was to restart my computer which released the lock on the apk file. Eclipse's Export
tool then worked fine.
Update
Could not delete the old apk file in Windows Explorer or in Command window (even when I opened it with Admin rights), but I could delete the apk when viewing it in my FileZilla
FTP client application. Obviously, this is much more convenient than restarting the computer.