不能用相同的私钥签名Android应用程序精简版的版本 [英] can't sign android app lite version with same private key

查看:136
本文介绍了不能用相同的私钥签名Android应用程序精简版的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚签下我的付费应用,现在,我要订阅它的一个精简版的版本使用相同的私钥。我现在的问题是,我收到此错误:

i just signed my paid app and now i want to sign a lite version of it with the same private key. my problem now is that, am receiving this error:

的jarsigner:无法打开jar文件。

jarsigner: unable to open jar file.

我一定要创建另一个密钥库呢?或者这个问题从我正在将其保存为不同的文件名的事实来了吗?我能做什么?谢谢

do i have to create another keystore for it? or is the problem coming from the fact that i am saving it as a different file name? what can i do? Thank you

推荐答案

这个问题是绝对不相关的事实,这是一个精简版的版本。我觉得奇怪的是,该错误信息是的jarsigner:无法打开jar文件

The problem is definitely not related to the fact that it is a lite version. I find it curious that the error message is Jarsigner: Unable to open jar file.

有的四处搜索使我相信你正在你的命令,一些打字错误(请重温这里的 http://developer.android.com/guide/publishing/app-signing.html#signapp <​​/A>)

Some searching around leads me to believe you are making some typing error in your command (please revisit the steps found here http://developer.android.com/guide/publishing/app-signing.html#signapp )

还有一些其他的搜索我也指出,困难有人有一定的文件名。是您的apk文件的名字详细点吗?这个问题我发现的另一个实例(的http://coding.derkeiler.com/Archive/Java/comp.lang.java.help/2005-09/msg01002.html )声称通过简化的名称来解决。

Also some other searching I did pointed to difficulties someone had with certain file names. Is your .APK name elaborate? Another instance of this problem I found ( http://coding.derkeiler.com/Archive/Java/comp.lang.java.help/2005-09/msg01002.html ) was claimed to be solved by simplifying the name.

另外,还要确保你实际上是指向.apk文件。试着输入了完整路径文件,如果你没有的话。

Also make sure you are actually pointing to the .APK. Try typing out full paths to the file if you're not already.

这篇关于不能用相同的私钥签名Android应用程序精简版的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆