任务 ':app:multiDexListDebug' 执行失败。执行 com.android.build.gradle.internal.tasks.Workers$ActionFacade 时发生故障

时间:2020-12-29 08:04:56

标签: android react-native gradle android-gradle-plugin

我是对 native 做出反应的新手。当我通过物理运行本机反应时,出现此错误。我厌倦了清理 gradle 和清理 npm 仍然是同样的错误。

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:multiDexListDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > 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.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 37s

出了什么问题。

0 个答案:

没有答案