问题描述
我真的对Facebook散列键有麻烦。我在我的Eclipse中生成它..证明:
然后我去了
最后我设置了我的hashkey在Facebook开发人员的设置:
但是没有什么我会继续得到相同的错误日志:
密钥哈希B5dWUEYfZJL / ...... ..... jyA =不匹配任何存储的密钥哈希
有人知道我做错了什么或我可以如何解决这个问题?
如果我在我自己的应用程序中使用HelloFacebookSample中的id和名称,一切正常。
所以这是与我设置的地方最可能的关键哈希,id或名称有关。
谢谢
Yenthe
经过几个小时的尝试,我终于找到了一个解决方案。
- 删除Facebook网站上的任何应用程序(developers.facebook.com)
- 删除
C:\\下的文件debug.keystore \\ Users\yourUserName\.android
- 生成新的密钥(再次运行应用程序)
- 创建一个新的应用程序在developers.facebook.com并添加新的哈希键
- 重新运行您的应用程序
- 成功!
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.
- Delete any app on the website of Facebook (developers.facebook.com)
- Delete the file debug.keystore under
C:\Users\yourUserName\.android
- Generate a new key (by running your app again)
- Create a new app on developers.facebook.com and add the new hash key
- Re-run your app
- Succes!
这篇关于Facebook密钥哈希与任何存储的密钥哈希不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!