uniq_

get Android debug signing key fingerprint

Here's how to retreive the SHA1 and SHA256 fingerprints for debug.keystore. That's what Android Studio / gradle is using to sign APKs for testing and debugging.

./gradlew signingReport

Alternatively, this is how to get the same fingerprints using javas keytool directly:

keytool -list -v \
    -keystore ~/.android/debug.keystore \
    -alias androiddebugkey \
    -storepass android -keypass android

This assumes that the standard debug keystore config wasn't changed.

written by uniq on 2023-11-13