Error while running zipalign

前端 未结 18 1751
眼角桃花
眼角桃花 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:13

    This is your mistake
    You are trying to set or reference zipalign first and then run zipalign -v 4 app-release-unsigned.apk HelloWorld.apk
    No, this is what you should do, set the zipalign reference and run the command at the same time
    like this
    /Users/s****/Library/Android/sdk/build-tools/28.0.3/zipalign -v 4 app-release-unsigned.apk MyApp.apk Your apk will build immediatelly.

提交回复
热议问题