运行zipalign时出错 [英] Error while running zipalign

查看:132
本文介绍了运行zipalign时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



运行zipalign时出错:
无法打开
作为zip存档



我已经运行帮助 - >检查更新以确保最新的更新已安装,SDK工具也是最新的。

解决方案

我收到相同的错误信息。让我疯狂,直到我发现我的目的地路径无效。



Zipalign会给你这个错误,即使apk完全有效,但是




  • apk的路径无效

  • 目的地无效或
    存在

  • 权限无效(apk为被其他程序锁定)


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 Updates to make sure the latest update is installed and SDK tools also up to date.

解决方案

I was getting the same error message. Drove me crazy until i found that my destination path was invalid.

Zipalign will give you that error even if the apk is perfectly valid, but

  • the path to the apk is invalid
  • the destination is invalid or does not exists
  • the permissions are invalid (apk is locked by other program)

这篇关于运行zipalign时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆