본문 바로가기
#FIXME

[Unity] CommandInvokationFailure: Gradle build failed.

by YEON-DU 2019. 11. 30.
반응형

CommandInvokationFailure: Gradle build failed. 
C:\Program Files\Unity\Hub\Editor\2018.3.2f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2018.3.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.6.jarorg.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

stderr[

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformNativeLibsWithMergeJniLibsForRelease'.
java.nio.file.AccessDeniedException: C:\WINDOWS\TEMP

 

C:\WINDOWS\TEMP의 보안설정을 모든 사용자가 전체 접근 가능하게 설정 후 빌드 성공.

반응형

댓글