简体   繁体   中英

Gradle daemon fails to start - Tried all

Hi so I'm unable to start the Gradle daemon process. 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

I've also reinstalled my JDK and 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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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