APK 빌드시 컴파일러 오류
Failed to compile resources with the following parameters:
-bootclasspath "C:/Users/USER/AppData/Local/Android/sdk\platforms\android-25\android.jar" -d "D:\Workspace_Unity\example\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "com\example\example\R.java" "com\example\plugins\R.java"
warning: C:\Users\example-SB\AppData\Local\Android\sdk\platforms\android-25\android.jar(java/lang/Object.class): major version 52 is newer than 51, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: C:\Users\example-SB\AppData\Local\Android\sdk\platforms\android-25\android.jar(java/lang/AutoCloseable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
2 warnings
위와 같은 에러가 발생하며 apk 파일 생성이 되지 않는 경우 Java 의 버전을 올려주면 해결 됩니다.