Facebook SDK v7.9.x doesn't merge manifests

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.

Hi, I had the same problem and I fix it deleting all facebook package and Installing again. Unfortunately, I updated the Unity to 5.6 and when I build the game and try to log in through the apk on facebook the dialog crashes and I can’t do that. I have already seen that are 2 ticket to fix it.

If you didn’t update the Unity I suppose you may not to do it.

Hi, please how did you solve this issue, i’m currently having the same problem

@RonaldDPetersII