22
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

APKに正しく署名できているか確認する

Last updated at Posted at 2019-06-18

AndroidのAPKを署名付きで出力したとき、期待通り署名できているか、証明書のフィンガープリントと比較し、確認する

フィンガープリントを確認する

  • キーストアファイルのフィンガープリントを出力する
keytool -v -list -keystore myKeystore.keystore
  • APKの署名のフィンガープリントを出力する
keytool -printcert -jarfile myApp.apk
  • それぞれ出力したフィンガープリントが一致するか確認する
...
証明書のフィンガプリント:
	 SHA1: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
	 SHA256: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
...

参考

keytool-Key and Certificate Management Tool

22
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
14

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?