简体   繁体   English

Gradle守护程序无法启动-尝试全部

[英]Gradle daemon fails to start - Tried all

Hi so I'm unable to start the Gradle daemon process. 嗨,我无法启动Gradle守护进程。 I've tried all that the internet has recommended and still seem to get nowhere. 我已经尝试了互联网推荐的所有内容,但似乎仍然无济于事。

I've added the line org.gradle.jvmargs=-Xmx1024m to my grade.properties 我已将org.gradle.jvmargs = -Xmx1024m行添加到我的grade.properties中

I've also reinstalled my JDK and android studio. 我还重新安装了JDK和android studio。

Heres a preview of the error log that has caused my depression 这是导致我沮丧的错误日志的预览

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:
-----------------------

I need it for an assignment and nothing seems to be working for me 我需要它来完成任务,似乎对我没有任何帮助


EDIT 编辑

Here are the logs https://pastebin.com/7ehbQanJ 这是日志https://pastebin.com/7ehbQanJ

A temporary solution is to disable the firewall (or adjust some rules, which I don't know right now). 临时解决方案是禁用防火墙(或调整一些规则,这些我现在还不知道)。 At least that helped me. 至少那对我有所帮助。 I am still looking for a permanent solution. 我仍在寻找永久解决方案。 However, this is better than nothing for the beginning. 但是,一开始这总比没有好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM