The Facebook SDK for Unity v7.9.0/7.9.4 upgraded its internal Facebook Android SDK from 4.14 to 4.17. In version 4.16 of the SDK, the following change was made which has carried through all new versions:
- android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+ android:theme="@style/com_facebook_activity_theme" />
Changelog: Facebook Android SDK 4.16 · facebook/facebook-android-sdk@ee7fdb1 · GitHub
Now when I build, I get the following error:
Error: [Temp\StagingArea\AndroidManifest-main.xml:27,...Temp\StagingArea\android-libraries\facebook-android-sdk-4.17.0\AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.facebook.FacebookActivity] element:
<activity
@android:name="com.facebook.FacebookActivity"
-- @android:theme="@android:style/Theme.Translucent.NoTitleBar">
<activity
@android:name="com.facebook.FacebookActivity"
++ @android:theme="@style/com_facebook_activity_theme">
Why was this change made and can someone change it back? I’m stuck now.
FYI, I am also using Stan’s Assets Mobile Social Plugin v9.4/17.