简体   繁体   English

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

[英]Android keystores: Debug/Release key for each app?

I'm getting ready to release an app on the android market and going through the docs for creating debug/release keys. 我正准备在android市场上发布一个应用程序,并通过文档来创建调试/发布密钥。 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? 我应该为每个应用程序使用一个Debug / Release键,还是为所有应用程序使用一个通用的Debug和Release键?

"...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..." “ ...在开发和测试应用程序时使用调试模式。要构建可直接分发给用户或发布的应用程序发行版本时,请使用发布模式。”

"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. 该链接还列出了为什么最好对所有应用程序使用单个键的一些原因。

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. ,必须使用相同的密钥库进行签名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 密钥哈希与android中的发布密钥和调试密钥库不同 - Key Hash is different from release key and debug keystores in android 使用密钥库在Travis CI上签署Android应用程序的发布版本的最佳做法是什么? - What is the best practice to use keystores to sign release version of an Android app on Travis CI? 将Android调试键替换为Android发布键 - Replacing android debug key with android release key 检测 App android 是否处于 Debug 或 Release - Detect if the App android is in Debug or Release Android App可在调试中使用,但无法在发行版中使用 - Android App works in debug but not in release 在不每次更改Android Google API密钥的情况下构建用于调试和发布模式的apk? - Building apk to debug and release mode without changing Android Google API key each time? 具有相同发布密钥库的APK - APKs with identical release keystores Android 应用程序可以在调试中运行,但不能在发布中运行,我知道为什么 - Android app works in debug but not in release, idk why 如何在发布模式下调试Android应用程序? - How to debug android app on release mode? Android加密在发行版应用程序上失败,但在调试上失败 - Android encryption fails on release app but not on debug
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM