The following introduces the debug version and the release version, and obtains the digital signature method. The SHA1 and MD5 can be obtained by the following methods .
[Debugging version]
In debug mode, Android studio will generate a debug.keystore
signature file by default , so we do n’t need to generate it by ourselves. The method of obtaining digital signature is as follows:
Open the terminal in Android Studio, enter the following command (password default is android or enter directly) ):
keytool -list -v -keystore debug.keystore
[Release version]
Open the terminal in Android Studio and enter the following command:
keytool -list -v -keystore xxx(签名文件名称).jks
Android Studio gets digital signature
Guess you like
Origin blog.csdn.net/hezhanran/article/details/101438268
Ranking