Android 应用签名是什么意思?

What does Android app signing means?

开发 android 应用程序后,我必须对其进行签名才能将其发布到 Play 商店。

歌唱过程到底做了什么?

我认为它与加密有关,但我能够解压缩 apk 文件而不需要我的应用程序的签名密钥。

Android requires that all apps be digitally signed with a certificate before they can be installed. Android uses this certificate to identify the author of an app, and the certificate does not need to be signed by a certificate authority. Android apps often use self-signed certificates. The app developer holds the certificate's private key.

Android Documentation: Signing Your Applications

Android 要求所有应用程序在安装前都使用证书进行数字签名。 Android 使用此证书来识别应用程序的作者,并且该证书不需要由证书颁发机构签名。 Android 应用经常使用自签名证书。应用开发者持有证书的私钥。

保护您的 Android 应用程序的基础是使用生成的证书和数字“密钥”,它提供唯一、加密且合理不可破解的签名。这证明该应用程序来自您,而不是其他可疑来源。

在 Android,这是通过密钥库完成的。密钥库是一个包含大量加密数据的简单文件。该文件可以存储在您计算机上的任何位置,这通常是开发人员遇到的第一个问题。 您应该了解两种类型的密钥库:调试和发布。 密钥库文件也受一对密码保护:一个用于密钥库文件本身,另一个用于文件中的每个 keystore/alias 对。虽然理想情况下这些密码应该是唯一的,但大多数开发人员对两者使用相同的密码。

您可以在 debugrelease 模式下签署应用程序。您在开发期间以调试模式签署您的应用程序,并在您准备好分发您的应用程序时以发布模式签署您的应用程序。 Android SDK 生成证书以在调试模式下签署应用程序。要在发布模式下签署应用程序,您需要生成自己的证书。

How to sign your apps in Android Studio