unity3d - Unity - Failed to compile resources with the following parameters: -
unity3d - Unity - Failed to compile resources with the following parameters: -
i'm working on adding google play game services unity project.
started getting these errors recently, not sure if because of game services, or updated machine.
the next in console output:
failed compile resources next parameters: -bootclasspath "/users/alex/development/adt-bundle-mac-x86_64-20131030/sdk/platforms/android-21/android.jar" -d "/users/alex/documents/development/unity/maze/maze/temp/stagingarea/bin/classes" -source 1.6 -target 1.6 -encoding utf-8 "com/facebook/android/r.java" "com/google/android/gms/r.java" "com/google/example/games/basegameutils/r.java" "com/google/example/games/mainlibproj/r.java" "com/mildspring/maze/r.java" warning: java/lang/object.class(java/lang:object.class): major version 51 newer 50, highest major version supported compiler. recommended compiler upgraded. 1 warning
unityeditor.hostview:ongui()
error building player: unityexception: resource compilation failed! failed recompile android resource files. see console details.
got answer, issue "major version 51" java 1.7, "version 50" java 1.6. solution install java 1.7 , set path accordingly next command.
sudo ln -nsf /library/java/javavirtualmachines/jdk1.7.0_71.jdk/contents /system/library/frameworks/javavm.framework/versions/currentjdk
unity3d google-play-services
Comments
Post a Comment