安卓 :What is the difference between app signing certificate and upload certificate?

标签 android android-studio google-play-games

应用签名证书和上传证书有什么区别?
我在将 Google Play 游戏与我的应用程序集成时遇到了问题(我将此作为另一个问题发布),我注意到用于在 Google API 控制台上自动生成的客户端 ID 的那个称为签名证书。
但是,当我在 Android Studio 上运行登录报告时可以看到的内容称为上传证书。

应该为客户 ID 设置哪一个?顺便说一句,两者都没有解决我的问题,但我很好奇其中的区别。

最佳答案

签署证书

Certain Google Play services (such as Google Sign-in and App Invites) require you to provide the SHA-1 of your signing certificate so we can create an OAuth2 client and API key for your app. For more info refer:doc



上传证书

When you publishing an app that is not signed by an upload key, the Google Play Console provides the option to register one for future updates to the app. Although this is an optional step, it’s recommended that you publish your app with a key that’s separate from the one Google Play uses to distribute your app to users. That way, Google keeps your signing key secure, and you have the option to reset a lost or compromised private upload key. This section describes how to create an upload key, generate an upload certificate from it, and register that certificate with Google Play for future updates of your app. For more info refer:doc

关于安卓 :What is the difference between app signing certificate and upload certificate?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57329770/

相关文章:

Android Studio Emulator 设备截屏屏幕不可用

android - recyclerview 中的 Seekbar 也会移动 recyclerview

android - 适用于 Android 的 Google API 缺少 Games.getGamesAuthToken

android - ADB 通过蓝牙 Android

android - 无法保护代码免受 Eclipse 中的逆向工程

java - 在 android studio 中实现 Runnable 类时出现 NoClassDefFoundError

android - 如何确定从 Google Play 游戏回合制通知中选择的比赛

java - 如何检查 Android 设备上的 Google Play 游戏帐户是否可用?

android - 当我们在 kotlin 中开始新的 Activity 时,为什么我们将 .java 放在 intent 中而不是 .kt

android - 9-patch 图像和库