Hey people,
these days I'm working with Android Facebook SDK, a field that I'm pretty new, too, so I considered sharing a little experience that I recently faced.
Supposing that you want to connect your app to Facebook, you obviously need a login button, first of all., so your
Ok, nothing special, but if you want to add the user's profile picture too, see what happens:
And this is what the console logs:
So, if you 've already read that, but didn't find a solution, here is the single line that you need to your namespaces:
Now, everything seems to work, without any errors:
Cheers!
these days I'm working with Android Facebook SDK, a field that I'm pretty new, too, so I considered sharing a little experience that I recently faced.
Supposing that you want to connect your app to Facebook, you obviously need a login button, first of all., so your
xml
code should look like this:
Error parsing XML |
C:\Workspaces\eclipse_luna\FacebookApp\res\layout\activity_main.xml:14: error: Error parsing XML: unbound prefix
So, if you 've already read that, but didn't find a solution, here is the single line that you need to your namespaces:
xmlns:facebook="http://schemas.android.com/apk/res-auto"
Now, everything seems to work, without any errors:
Cheers!
No comments:
Post a Comment