Hello everyone,
I’m running Unity 4.6 in OS X 10.9.5, and I’m getting the following error when I try to compile to android:
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/Company/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.
Does anyone know how I can solve this problem?
It's been a while since my problems with porting to Android, but make sure you've installed the 32-bit version of the java SDK and not the 64-bit. Can't say for sure it's still an issue, but several months ago this sidelined my Android development for a while.
– BullnoseHey guys can someone please point me the way to do this on mac yosemite?
– Flatiron