我正在尝试签署一个应用程序。但我得到了一个错误。这是命令的调试输出:
java -jar "/root/H4CKINTO/server/app/factory/uber-apk-signer-1.1.0.jar" -a
"/root/H4CKINTO/server/assets/webpublic/build.apk"
--ks "/root/H4CKINTO/server/app/factory/release.jks"
--ksAlias key0 --ksPass release101 --ksKeyPass release101
--out "/root/H4CKINTO/server/assets/webpublic" --debug
source:
/root/H4CKINTO/server/assets/webpublic
zipalign location: BUILT_IN
/tmp/uapksigner-3996937017948623348/linux-zipalign-29_0_216512889318861589737.tmp
keystore:
[0] 464fe90b /root/H4CKINTO/server/app/factory/release.jks (RELEASE_CUSTOM)
01. build.apk
SIGN
file: /root/H4CKINTO/server/assets/webpublic/build.apk (0.36 MiB)
checksum: e7b0234c434ec43e8b4770ec9ea8ce93073df10c22c1443d9f44010ff47f6ef3 (sha256)
- could not align
could not execute zipalign
java.lang.IllegalStateException: could not execute zipalign
at at.favre.tools.apksigner.SignTool.execute(SignTool.java:147)
at at.favre.tools.apksigner.SignTool.mainExecute(SignTool.java:44)
at at.favre.tools.apksigner.SignTool.main(SignTool.java:32)
Cmd history for debugging purpose:
-----------------------
[/tmp/uapksigner-3996937017948623348/linux-zipalign-29_0_216512889318861589737.tmp, -v, 4, /root/H4CKINTO/server/assets/webpublic/build.apk, /root/H4CKINTO/server/assets/webpublic/build-aligned.apk]
(-1)
你能告诉我这里有什么问题吗?