简体   繁体   中英

android developing with Facebook SDK. (Invalid key hash)

I am working in a team and we are developing an app which integrates the Facebook SDK.

When I try to test the app I get: Invalid key hash. Only the original developer can test it, as the Key hash was generated in his PC.

Is there a away to work with multiple developer using FB sdk and get around the key hash ?

Generate a keyhash for your machine and add it at the Dev console in FB. You can add multipe keyhashes. Also make sure that you are listed as a dev in the console so that you can use your email id to test.

You will also have to take care of the .apk signing key across machines. Key hash will change if the Debug key hash or the release key hash changes.

From the docs: You can add multiple key hashes if you develop with multiple machines.

您的团队只需使用一个开发人员密钥(每个队友使用相同的密钥)进行应用程序签名。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM