I´m implementing a android login button, when I start the app I get the following message error.
E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.droidsmile.opinions, PID: 31695 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.droidsmile.opinions/com.droidsmile.opinions.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class com.facebook.login.widget.LoginButton
And other line:
Caused by: The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first.
Where can I call the method?
Thanks.