I just got the same problem myself, and it happened when I tried to run
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore
from overseas of my ion project. When I launched it from the root of the ion project, it worked. Then I moved the signed apk to another directory in order to run zipalign and publish it to the Play Store.
source share