LoginSignup
21
23

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