The error about il2cpp when you build unity project in android studio
1. "il2cpp.exe finished with non-zero exit value" error
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:414)
at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:205)
at org.gradle.groovy.scripts.DefaultScript.exec(DefaultScript.java:249)
at org.gradle.api.Script$exec$0.callCurrent(Unknown Source)
2. "il2cpp.exe permission denied" error
> A problem occurred starting process 'command '/Users/[path to app]/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/net471/il2cpp.exe''
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':unityLibrary:BuildIl2CppTask'.
Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/Users/[path to app]/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/net471/il2cpp.exe''
Caused by: net.rubygrapefruit.platform.NativeException: Could not start '/Users/[path to app]/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/net471/il2cpp.exe'
Cause: error=13, Permission denied
3. "il2cpp no such file or directory" error
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
... 7 more
Caused by: java.io.IOException: error=2, No such file or directory
... 8 more
You are using mac to develop android app, and import android project using Unity from Window.
In this case, you can not build that android project.
Three errors above are derived from incompatibility between Windows and Mac about Unity.
댓글 없음:
댓글 쓰기