Facebook SDK not compiling in combination with google admob on android

Hello,

I’m having trouble building my game for android after introducing the facebook sdk.
At compile time I’m getting the following error, which I failed to find anything about on google:

Error building Player: CommandInvokationFailure: Failed to recompile android resource files. See the Console for details.
C:\Program Files (x86)\Java\jre7\bin\javac.exe -bootclasspath “C:/Users/maart_000/Desktop/Android/adt-bundle-windows-x86_64/sdk/platforms/android-18\android.jar” -d “C:\Users\maart_000\Documents\FlySplatter\FlySplatter\Temp\StagingArea\bin\classes” -source 1.6 -target 1.6 -encoding ascii “be\maartendr\flysplatter\R.java” “com\facebook\android\R.java”

stderr[

]
stdout[

]

Any help would be very much appreciated!

EDIT:

When building, instead of build and run I get more info:

Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\maart_000\Desktop\Android\adt-bundle-windows-x86_64\sdk\build-tools\18.1.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S “res” -I “C:/Users/maart_000/Desktop/Android/adt-bundle-windows-x86_64/sdk/platforms/android-18\android.jar” -F bin/resources.ap_ --extra-packages -S “C:\Users\maart_000\Documents\FlySplatter\FlySplatter\Temp\StagingArea\android-libraries\facebook\res”

stderr[
C:\Users\maart_000\Documents\FlySplatter\FlySplatter\Temp\StagingArea\android-libraries\facebook\res\values\strings.xml: error: Duplicate file.
res\values\strings.xml: Original is here.
]
stdout[
Processing raw dir ‘C:\Users\maart_000\Documents\FlySplatter\FlySplatter\Temp\StagingArea\android-libraries\facebook\res’
]

(Filename: Line: -1)

Solved Manually compiled the Facebook plugin’s java part (after changing a bug in the code), added the res folder manually to the project again. And now it works.

Maybe it’s too late to answer, I was facing the same issue, I created a plugin this plugin contains Facebook SDK+Admob+unityads +unity IAP, all of them work together, I’ve created this plugin in unity 5.6.0, but I’ve checked it, it is working fine in unity 2017 as well, there is a scene “DemoScene”, just open it everything is implemented, unity ads, admob, facebook share with callback, unityIAP.

Note: before importing the plugin kindly delete all the old plugins, also go to services and turn on unity ads.
http://www.mediafire.com/file/ccvj7ixir8ive25/FB_ADMOB_UnityIAP_UnityAds_Plugin_Hameed_Ullah_jan.unitypackage