在使用Facebook Unity SDK编译Unity安卓应用时,出现了以下错误(如果我移除SDK,则可以正常编译):
Failed to compile resources with the following parameters:
-bootclasspath "/Users/ines/Development/android-sdk-macosx/platforms/android-21/android.jar" -d "/Users/ines/Documents/Game/Temp/StagingArea/bin/classes" -source 1.6 -target 1.6 -encoding UTF-8 "com/RPS/Game/R.java" "com/facebook/android/R.java"
warning: java/lang/Object.class(java/lang:Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
1 warning
UnityEditor.HostView:OnGUI()
我不明白为什么会出现这种情况。我在OSX 10.9.5上运行Unity 4.6,并安装了最新版本的Java和Android SDK。
有人能帮帮我吗?