Android 密钥库:每个应用程序的调试/发布密钥?

发布于 2024-12-28 09:43:19 字数 220 浏览 4 评论 0原文

我正准备在 Android 市场上发布一个应用程序,并浏览用于创建调试/发布密钥的文档。我是否应该为每个应用程序拥有一个调试/发布密钥,或者只是一个用于所有应用程序的通用调试和发布密钥?

“...当您开发和测试您的应用程序时,您可以使用调试模式 应用。当您想要构建版本时,可以使用发布模式 您可以直接分发给用户的应用程序版本 或发布...”

I'm getting ready to release an app on the android market and going through the docs for creating debug/release keys. Am I supposed to have a Debug/Release key for each application, or just a general Debug and Release key to use for all applications?

"...You use debug mode when you are developing and testing your
application. You use release mode when you want to build a release
version of your application that you can distribute directly to users
or publish..."

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

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

发布评论

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

评论(2

零度° 2025-01-04 09:43:19

您不必创建多个发布密钥库来签署您的应用程序...如果您打算发布应用程序的更新,则只需一个就足够了。 ,它必须使用相同的密钥库进行签名。

you don't have to create more than one release keystore to sign your app... only one is sufficient even more, if you intent to release an update to your app. , it must be signed withe the same keystore.

司马昭之心 2025-01-04 09:43:19

“一般来说,建议所有开发人员的策略是在应用程序的整个预期生命周期内使用相同的证书对所有应用程序进行签名” - 对您的应用程序进行签名

该链接还列出了为什么最好对所有应用程序使用单一密钥的一些原因。

"In general, the recommended strategy for all developers is to sign all of your applications with the same certificate, throughout the expected lifespan of your applications" - Signing Your Applications

The link also lists some of the reasons why it's better to use a single key for all your applications.

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