Facebook密钥哈希与任何存储的密钥哈希不匹配 [英] Facebook key hash does not match any stored key hashes

查看:384
本文介绍了Facebook密钥哈希与任何存储的密钥哈希不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的对Facebook散列键有麻烦。
我在我的Eclipse中生成它..证明:



然后我去了



最后我设置了我的hashkey在Facebook开发人员的设置:



但是没有什么我会继续得到相同的错误日志:
密钥哈希B5dWUEYfZJL / ...... ..... jyA =不匹配任何存储的密钥哈希



有人知道我做错了什么或我可以如何解决这个问题?
如果我在我自己的应用程序中使用HelloFacebookSample中的id和名称,一切正常。
所以这是与我设置的地方最可能的关键哈希,id或名称有关。



谢谢
Yenthe

解决方案

经过几个小时的尝试,我终于找到了一个解决方案。


  1. 删除Facebook网站上的任何应用程序(developers.facebook.com)

  2. 删除 C:\\下的文件debug.keystore \\ Users\yourUserName\.android

  3. 生成新的密钥(再次运行应用程序)

  4. 创建一个新的应用程序在developers.facebook.com并添加新的哈希键

  5. 重新运行您的应用程序

  6. 成功!


I'm really having troubles with the Facebook hash key. I generated it in my Eclipse.. proof:

Then I went to https://developers.facebook.com/ and registered a new app.

And finally I've set my hashkey at the settings of Facebook developers:

But no whatter I do I keep getting the same error log: "Key hash B5dWUEYfZJL/...........jyA= does not match any stored key hashes"

Does anybody know what I did wrong or how I can fix this problem? If I used the id and name from the HelloFacebookSample inside my own app everything works. So it HAS to do with the key hash, id or name I've set somewhere most likely..

Thank you, Yenthe

解决方案

After hours of trying I've finally found a solution.

  1. Delete any app on the website of Facebook (developers.facebook.com)
  2. Delete the file debug.keystore under C:\Users\yourUserName\.android
  3. Generate a new key (by running your app again)
  4. Create a new app on developers.facebook.com and add the new hash key
  5. Re-run your app
  6. Succes!

这篇关于Facebook密钥哈希与任何存储的密钥哈希不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆