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)