Crash on crash

I am trying to launch the Scrumptious Android app included in the Facebook SDK. However, when I click on the login button and enter my credentials, I get this error message in the log saying

!!! FAILED BINDER TRANSACTION !!! 

Has anyone had a problem with this? I would be grateful for any recommendations.

Thanks in advance.

+4
source share
2 answers

I had the same problem and it turned out that I had the wrong hash key registered in my application. I used the code snippet published on Facebook sdk 3.0 android to determine my key hash and the problem disappeared.

 try { PackageInfo info = getPackageManager().getPackageInfo("com.facebook.scrumptious", PackageManager.GET_SIGNATURES); for (Signature signature : info.signatures) { MessageDigest md = MessageDigest.getInstance("SHA"); md.update(signature.toByteArray()); Log.e("MY KEY HASH:", Base64.encodeToString(md.digest(), Base64.DEFAULT)); } } catch (NameNotFoundException e) { } catch (NoSuchAlgorithmException e) { } 
+5
source

I had this problem and solved it by going to res / values ​​/strings.xml of the sample project and saving my Facebook application id in the app_id field.

+3
source

Source: https://habr.com/ru/post/1501032/


All Articles