I'm having trouble getting SHA1 certificate with keytool
问题 I'm trying to find the SHA1 hash of my signature key store on macos sierra using the following comand: keytool -exportcert -alias androiddebugkey -keystore $HOME/.android/debug.keystore -list -v -storepass android The result looks like below: Alias name: androiddebugkey Date of creation: Oct 25, 2017 Input Type: PrivateKeyEntry Length of certificate chain: 1 Certificate [1]: keytool error: java.util.IllegalFormatConversionException: d != java.lang.String java.util