no manifest. jar is unsigned. (signatures missing

2019-06-26 01:49发布

问题:

When I sign my android app using keytool, it gives above mentioned error.

no manifest. jar is unsigned. (signatures missing or not parsable)

I have created keystore everything. What would be the reason? Any manifest error?

回答1:

I just received this same issue myself and it occurred when I tried to run

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore

from outside of the directory of my ionic project. When I ran it from the root of the ionic project, it worked. Then I moved the signed apk to a different directory to run zipalign and publish to the Play store.