在Unity中构建Android应用时出现错误。
“ Gradle构建失败。有关详细信息,请参见控制台。”
我收到此错误:
CommandWithNoStdoutInvokationFailure: Gradle initialization failed
UnityEditor.Android.Command.RunWithShellExecute.....(very long error message)....
FAILURE: Build failed with an exception.
* What went wrong:
Java heap space
* Try:
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.
我正在使用最新版本的Unity 2019.1.4f1。 我尝试构建一个空白应用程序。但是它无法构建。