Java Cordova android发布构建jar验证警告

Java Cordova android发布构建jar验证警告,java,android,cordova,phonegap-build,Java,Android,Cordova,Phonegap Build,我正在使用cordova构建一个android应用程序。现在我想释放它,因此我已经使用 跑步时 jarsigner -verify -verbose -certs my_application.apk 我得到以下错误 在这个输出的开始,我得到 [certificate is valid from 9/11/15 3:29 PM to 27/3/43 3:29 PM] [CertPath not validated: Path does not chain with any of t

我正在使用cordova构建一个android应用程序。现在我想释放它,因此我已经使用

跑步时

jarsigner -verify -verbose -certs my_application.apk
我得到以下错误

在这个输出的开始,我得到

[certificate is valid from 9/11/15 3:29 PM to 27/3/43 3:29 PM]
      [CertPath not validated: Path does not chain with any of the trust anchors]
在输出的末尾

jar verified.

Warning: 
This jar contains entries whose certificate chain is not validated.
This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2043-03-27) or after any future revocation date.

我在这里做什么?

要包含时间戳,您必须像这样使用私钥对应用程序进行签名

jarsigner -verbose -tsa http://timestamp.digicert.com -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my.apk my_alias
为了使用正确的条目,必须将路径添加到密钥库中

jarsigner -verify -keystore /path_to_my/key.keystore   my_application.apk

我有jdk1.8.0_60.jdkCordova不是Phonegap构建问题。使用标记phonegap或cordova您能解释一下上述命令的定义吗?[link]jarsigner命令有一个-keystore选项,用于指定要使用的密钥库的URL。默认情况下,密钥库存储在用户主目录中名为.keystore的文件中,由user.home系统属性确定。