Hi Prajakta,

Did you include the actual class of the LoginButton?  You must also
refer to the login button class in your xml instead of the normal
button class.
<your.package.name.LoginButton></your.package.name.LoginButton>

Best regards,
Zarah.



On Oct 26, 2:26 pm, Prajakta Shitole <[email protected]> wrote:
> Hi,
>
> I am trying to use the Facebook SDK for android but It gives me runtime
> errors (ClassCastException) when i include the
>  com.facebook.android.LoginButton as the login button. Please can anyone let
> me know if they have used Facebook connect in their application and the
> steps that are to be followed to get it running properly.
>
> Thanks,
> Prajakta

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to