Guys, I just downloaded the latest Facebook SDK, the latest Android SDK and the latest Unity (4.3).
When I try to build my game, just to see the facebook example it gives me the following error:
Error building Player: Win32Exception:
ApplicationName=‘C:\Program Files (x86)\Java\jre7\bin\javac.exe’,
CommandLine=‘-bootclasspath “E:/adt-bundle-windows/sdk/platforms/android-14\android.jar” -d
“E:\Unity Projects[project name]\Temp\StagingArea\bin\classes” -source 1.6 -target 1.6 -encoding ascii “com\facebook\android\R.java” “com\winter\bigbang\R.java”’,
CurrentDirectory=‘E:\Unity Projects[project name]\Temp\StagingArea\gen’
After I removed the facebook SDK, entirely, from this project it started compiling again.
Does anybody knows what do I have to do to fix this issue?
I reinstalled java, unity and android sdk several times with no success.
Did you try older versions of Unity to see if the facebook SDK works? It seems to be a problem with the SDK itself, not unity.
– MalachiteBR