我在签署akp时有警告:
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 (2141-02-03) or after any future revocation date.在这里:“Package file was not signed correctly” error — detect whether or not it will happen with Google Play app apk我读到它可能会导致Google Play上的问题,据我所知,建议使用java6签名,代码如何临时切换给了OSX。我使用Windows7,我已经安装了java 6,但是当我从6运行jarsigner时,它给出了错误:
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.7', but '1.6' is required.
Error: could not find java.dll
Error: could not find Java SE Runtime Environment.如何切换到Windows7下的java 6?
发布于 2016-03-07 14:55:54
我停止了Java 7/6,安装了6,并使用java 6中的jarsinger进行签名,然后甚至使用java 6中的keytool来创建新的密钥库:
java 6的jarsigner不会给出由它生成的akp的警告,但是,当我尝试用java 8的jarsigner验证apk时,也产生了同样的警告,所以重点不是java 6使烧焦的apk比新的7/8更好,而是新的7/8给出了更多关于结果的细节。
希望我的由Android Studio1.5生成的密钥可以用于Google Play。
https://stackoverflow.com/questions/35822453
复制相似问题