我已经签署了apk,但是当我试图使用jarsigner验证时:
jarsigner -verify -verbose -certs sample.signed.apk但我说错了:
jarsigner: Signature Block missing for ANDROIDS我不知道该在哪里调查这个问题。谁能给我个提示吗?
发布于 2013-10-10 20:27:25
原来我在JDK1.6上使用的jarsigner版本。在我把它升级到1.7之后。问题解决了。
发布于 2013-10-08 20:18:52
你是怎么在jar文件上签名的?
在Java文档中,这里看起来像
-verify
If this appears on the command line, the specified JAR file will
be verified,not signed. If the verification is successful,
"jar verified" will be displayed. If you try to verify an unsigned
JAR file, or a JAR file signed with an unsupported algorithm
(e.g., RSA when you don't have an RSA provider installed),
the following is displayed: "jar is unsigned. (signatures
missing or not parsable)" It is possible to verify JAR files
signed using either jarsigner or the JDK 1.1 javakey tool, or both.https://stackoverflow.com/questions/19256080
复制相似问题