Question

I have imported the Facebook SDK as a library and made sure the jar is in the build path. I have rebuild the project couple of times but i could see there is an error in the line which uses the login button com.facebook.widget.LoginButton as shown in the below snapshot. Kindly advice me how to overcome this issue.

enter image description here

Was it helpful?

Solution

The following line was missing in the XML

          xmlns:facebook="http://schemas.android.com/apk/res-auto"

I have added it and the issue got solved.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top