Android / Kotlin Enthusiast 🤖

Check Finger Print From Apk Installed

Here is how I checked SHA-1 / SHA-256 finger prints from APK installed in devices. For this purpose, we can use adb commands.

First, check the application identifier. The list of application identifiers installed in a device is obtained with the command below. From the list, pick up the application identifier you want to know the finger prints.

% adb shell pm list package

Suppose that the application identifier is XXX.XXX.XXX. Then, check the path to the apk with the command below. There would be several apks depending on the configuration.

% adb shell pm path XXX.XXX.XXX

Now you know the path to the apk, you can pull it to current directory with adb pull command.

% adb pull /data/app/XXX.XXX.XXX-xxxxxxxxxxxxxxxxxxxxxx==/base.apk

Finally, you can check the SHA-1 / SHA-256 finger prints with keytool command.

% keytool -printcert -jarfile base.apk


About me 😎



Jetpack ComposeによるAndroid MVVMアーキテクチャ入門の著者です。

👉 もっと詳しく

Writing 📝

Android MVVMアーキテクチャ入門


👉 もっと詳しく

See Also 👀