Skip to content Skip to sidebar Skip to footer

Facebook Login Button Crash

I did all steps from Android Facebook SDK 4 in Eclipse and https://developers.facebook.com/docs/android/getting-started#login_share My activity: public class MainActivity extends A

Solution 1:

I guess you need to declare FacebookActivity in your manifest file like this

<activity android:name="com.facebook.FacebookActivity"
          android:configChanges=
                 "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
          android:theme="@android:style/Theme.Translucent.NoTitleBar"
          android:label="@string/app_name" />

Its mentioned here..

Solution 2:

LoL, I just solved my problem. In the activity layout needs to be

tools:context="com.kajmus.appname.MainActivity"

Post a Comment for "Facebook Login Button Crash"