简体   繁体   中英

facebook authentication error in release.apk in android

I have created released apk for my android app. I have created the keystore and signed the app with it. Google Plus authentication is working fine but I am facing problems with facebook authentication.

I am getting the following message while trying to authenticate app with facebook...

图片

I have added the provided keyhash to facebook developers' settings. But still I am getting the same error message.

Can anyone tell me how should I solve this issue?

Goto to developer settings for your app on facebook and add the Key Hashes shown in the above error manually under settings>basic>Key Hashes. Then try running your app

Try this link Facebook android app error : Invalid key hash

I had a similar problem and it turned out that there was an upper case letter I which is similar to lower case letter l, inside this link you will find a code that can get the key hash, use Log to show it inside the console and copy paste it, it will do the trick.

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