为 Android 市场签署预打包 APK

发布于 2024-10-21 21:48:53 字数 501 浏览 1 评论 0原文

首先,我不是开发人员 - 我只是创建一个简单的应用程序。事实上,我并不是真正创建,而是修改现有的应用程序。 该应用程序是为英国市场制作的,而我需要一个 AU 市场(这是就所使用的图像而言),因此打开我下载的 APK 并根据需要编辑图像非常简单。然后我使用 AutoSign 应用程序对其进行签名,并将其添加到我的手机中,它的运行效果与原始版本一样好。 我将其提交给原始开发人员 - 他询问是否可以将其发布到市场上。我为他这样做感到高兴。但是,当我使用自动签名工具时,报告了以下错误:Market does not Accept apkssigned withcertificatebyAndroidteam.创建有效期至少 50 年的新证书。 现在就像我说的,我不是开发人员,虽然我安装了 Android 和 Java SDK 以及 Eclipse,并且安装了 Android App Maker,但我仍然无法做我不想做的事情 - 即创建一个有效的签名密钥并用它签署我打包的 APK(即使我必须通过压缩文件夹解包它)以分发到市场。 非常感谢您提供的任何帮助! 诚挚的问候, 瑞安·卡迈克尔

Firstly I am not a Developer - I am just creating a simple application. In fact I am not really creating, rather modifying an existing application.
The application in question was made for a UK market, and I needed an AU market (this is in terms of the Images used) and thus it was quite simple to open the APK which I downloaded and edit the Images as required. I then signed it using the AutoSign App, and added it to my phone, where it runs as good as the original.
I submitted it to the original developer - who asked if he could post it on the Market. I was happy for him to do this. However, as I used the Auto Sign tool, the following error was reported: Market does not accept apks signed with certificates issued by Android team. Create a new certificate that is valid for at least 50 years.
Now like I said I am not a developer, and whilst I have the Android and Java SDK and Eclipse installed, and Android App Maker installed, I am still unable to do what I wan't to do - that is create a valid sign key and sign my packaged APK (even if I have to un package it via Compressed folder) with this for distribution to the Market.
Any assistance you can offer is much appreciated!
Sincere regards,
Ryan Carmichael

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

计㈡愣 2024-10-28 21:48:53

为什么不发送一个未签名的版本给他并让他用他的开发者许可证签名呢?如果他已经在市场上有了应用程序,那么他显然拥有一个有效的应用程序。

Why not send an unsigned version to him and let him sign it with his developer license? He obviously has a valid one if he's already got apps in the market.

记忆之渊 2024-10-28 21:48:53

我最终自己弄清楚了 -
创建密钥:
keytool -genkey -v -keystore keystore.keystore -alias alias_name -keyalg RSA -validity 10000

要测试密钥:
keytool -keystore keystore.keystore -list -v

应用密钥:
jarsigner -verbose -keystore keystore.keystore -signedjar apk_signed.apk apk.apk alias_name

希望这可以帮助别人!
瑞安

I ended up figuring it out myself -
To create a key:
keytool -genkey -v -keystore keystore.keystore -alias alias_name -keyalg RSA -validity 10000

To test the key:
keytool -keystore keystore.keystore -list -v

To apply the key:
jarsigner -verbose -keystore keystore.keystore -signedjar apk_signed.apk apk.apk alias_name

Hope this helps someone!
Ryan

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文