Error while running zipalign

前端 未结 18 1752
眼角桃花
眼角桃花 2021-02-06 21:48

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

18条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-06 22:20

    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)

提交回复
热议问题