【问题标题】:Gradle daemon fails to start - Tried allGradle 守护程序无法启动 - 全部尝试
【发布时间】:2018-10-19 01:09:08
【问题描述】:

您好,我无法启动 Gradle 守护进程。我已经尝试了互联网推荐的所有方法,但似乎仍然一无所获。

我已将 org.gradle.jvmargs=-Xmx1024m 行添加到我的grade.properties

我还重新安装了我的 JDK 和 android studio。

这是导致我抑郁的错误日志的预览

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/4.6/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------

我需要它来完成一项任务,但似乎没有什么对我有用


编辑

这里是日志 https://pastebin.com/7ehbQanJ

【问题讨论】:

  • 什么时候发生?
  • 您使用哪种操作系统?
  • 它发生在启动时以及我尝试构建应用程序时
  • 我使用的是 Windows 10 64 位,我有 8gb 的内存
  • 您能粘贴其余的日志吗?

标签: android android-studio gradle android-gradle-plugin daemon


【解决方案1】:

临时解决方案是禁用防火墙(或调整一些规则,我现在不知道)。 至少这对我有帮助。我仍在寻找永久的解决方案。不过,这总比没有好。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-10-01
    • 2023-04-04
    • 1970-01-01
    • 1970-01-01
    • 2017-11-20
    • 2017-02-28
    • 1970-01-01
    • 2022-07-01
    相关资源
    最近更新 更多