Android应用程序未在Unity中构建,错误“ Gradle初始化失败”。

时间:2019-05-28 10:27:05

标签: java c# android unity3d android-gradle

在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。 我尝试构建一个空白应用程序。但是它无法构建。

0 个答案:

没有答案