21
23

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 5 years have passed since last update.

KeystoreファイルからKey Hashを生成

Posted at

Key Hashの生成方法について、忘れそうなので備忘メモ。


それぞれ以下のコマンドを使用して生成。

  • デバッグ用

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64


  • リリース用

keytool -exportcert -alias "エイリアス名" -keystore "Keystoreファイルのパス" | openssl sha1 -binary | openssl base64

21
23
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
21
23

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?