I've searched for the past 3 hours for answers regarding this problem, and similar questions did not help, so I'm finally asking the question:
I'm trying to use Facebook's SDK for Android, and I'm getting a "blank" screen (there's a frame around it, but where you'd expect the authorization details I'm instead getting white space):
Clicking "Log In" gives the same page, only the title is now "Error" with a vague message:
I've checked that the hash key is right. I've changed the hash key to something absurd like "asdf" and the log indeed says that the application is using [some key]
and isn't matching. So I replaced "asdf" with [some key]
and that error went away. (Additionally, the page above doesn't even show up in the case of incorrect hash keys, it just ends the auth process immediately.)
I've checked that date and time settings are correct, so at least SSL isn't breaking with respect to that. I don't see any related errors or warnings in logcat, either.
I did find an existing question (no real answers) and the linked solution but that seems outdated. (And it doesn't work.)
I'm following the FB tutorial at https://developers.facebook.com/docs/mobile/android/build/#enablesso word for word, and at this point I have no idea how to debug this with no errors or warnings in the log. Has anybody else seen this bug before?
(I'm using Android API 15 with the latest clone of the github for the FB API.)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…