Paling bete kalau lagi mau export file APK dari Unity secara langsung di akhir proses keluar pesan error seperti ini:
CommandWithNoStdoutInvokationFailure: Gradle initialization failed.
UnityEditor.Android.Command.RunWithShellExecute blablabla…
FAILURE: Build failed with an exception.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) blablabla…
What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/5.1.1/userguide/gradle_daemon.html
Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.
CommandInvokationFailure: Gradle build failed.
Build completed with a result of ‘Failed’
UnityEditor.BuildPlayerWindow+BuildMethodException: 30 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer blablabla…
Solusi dan caranya gampang… nonton aja yah 😀