Facebook的密钥散列不匹配任何存储的密钥散列密钥、不匹配、Facebook

2023-09-12 09:11:19 作者:女汉子才能逆天

我真的有麻烦与Facebook的哈希键。 我在Eclipse中..证明产生的:

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

然后我去 https://developers.facebook.com/ 并注册了一个新的应用程序。

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

最后,我已经把我的hashkey在Facebook的开发人员的设置:

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

但是,没有whatter这样,我不断收到同样的错误日志: 密钥散列B5dWUEYfZJL / ........... JYA =不​​符合任何存储的密钥散列值

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

有谁知道我做错了什么,或我怎么能解决这个问题? 如果我使用的ID和名字从HelloFacebookSample在我自己的应用程序一切正常。 所以它做的密钥散列,ID或名字我给自己定什么地方最有可能的。

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..

感谢您, Yenthe

Thank you, Yenthe

推荐答案

在尝试,我终于找到了一个解决方案小时。

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

删除了Facebook的网站上的任何应用程序(developers.facebook.com) 删除以下文件debug.keystore C:\ Users \用户yourUserName \ .android 生成一个新的密钥(通过再次运行你的应用程序) 创建于developers.facebook.com一个新的应用程序,并添加新的哈希键 重新运行你的应用程序 更迭! 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!