LoginSignup
5
6

More than 5 years have passed since last update.

Facebook SDKのkey hashがなぜかAndroid実機だけinvalid key hashになる

Last updated at Posted at 2014-11-29

AndroidでのFacebookログインをつくっていて、Genymotionではうまく動いたが、実機に転送するとinvalid key hashとなる問題に遭遇していた。

どうやらパスワードに適当なを入れてたのが原因らしい。
androidと入れたらうまくいった

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

よくわからんが最初にデフォルトで作られた時のキーがそのまま使われるのだろうか?

5
6
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
5
6