Android keytool cannot get the MD5 of the signature file

At present, when the signed md5 is obtained through keytool -list -v -keystore xxx.jks this method, only SHA1 and SHA256 can be displayed, and md5 is not displayed:

insert image description here

Solution:

1. First configure your own keystore into the build.gradle under the app:

insert image description here

insert image description here

2. Open Gradle of AndroidStudio, find Tasks->android->signingReport, double-click:

insert image description here

insert image description here

Find the information that Config is release, Alias ​​is consistent with the alias of your signature file, and you can get MD5!

Guess you like

Origin blog.csdn.net/baiyuliang2013/article/details/129617009