com.facebook.LoginActivity

I just updated to build 2013.1161, and now I get the following error when I try to compile my app which has facebook included. Do I need to declare the LoginActivity in the manifest? This is not done in the sample project. 

07-15 03:52:24.713: I/Corona(9263): Runtime error

07-15 03:52:24.713: I/Corona(9263): com.facebook.FacebookException: Cannot use SessionLoginBehavior SSO_WITH_FALLBACK when com.facebook.LoginActivity is not declared as an activity in AndroidManifest.xml

Thanks for any help.

I just tried the sample project “IncludeAllFeatures”, and I get the exact same error. Any help would be appreciated!

You need to add the following tags to your “AndroidManifest.xml” file as follows…

\<manifest\> \<application\> \<activity android:name="com.facebook.LoginActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:configChanges="keyboardHidden|screenSize|orientation"/\> \<activity android:name="com.ansca.corona.facebook.FacebookFragmentActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:configChanges="keyboardHidden|screenSize|orientation"/\> \</application\> \</manifest\>

Thank for bringing this up.  We’ve recently updated Corona to use the newest Facebook SDK and haven’t updated that sample project to indicate what’s needed.  We’ll do that in the near future.

Awesome, thanks

I just tried the sample project “IncludeAllFeatures”, and I get the exact same error. Any help would be appreciated!

You need to add the following tags to your “AndroidManifest.xml” file as follows…

\<manifest\> \<application\> \<activity android:name="com.facebook.LoginActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:configChanges="keyboardHidden|screenSize|orientation"/\> \<activity android:name="com.ansca.corona.facebook.FacebookFragmentActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:configChanges="keyboardHidden|screenSize|orientation"/\> \</application\> \</manifest\>

Thank for bringing this up.  We’ve recently updated Corona to use the newest Facebook SDK and haven’t updated that sample project to indicate what’s needed.  We’ll do that in the near future.

Awesome, thanks