목차

반응형

CommandInvokationFailure: Gradle build failed. 

C:/Program Files (x86)/Java/jdk1.7.0_55\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx1024m" "assembleRelease"


stderr[


FAILURE: Build failed with an exception.


* Where:

Build file 'C:\Users\����ȯ\Desktop\tttt\Temp\gradleOut\build.gradle' line: 20


* What went wrong:

A problem occurred evaluating root project 'gradleOut'.

> java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


BUILD FAILED in 15s

]

stdout[

Starting a Gradle Daemon (subsequent builds will be faster)

]

exit code: 1

UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)

UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)

UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error)

UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress)

Rethrow as GradleInvokationException: Gradle build failed

UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress)

UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)

UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


이거 아마 Build System Gradle로 되어있을텐데

Gradle은 안드로이드 네이티브에서 임포트해서 쓰는 용도로 쓰임

빌드해서 바로 쓸꺼면 Internal로 바꿔서 하삼


반응형