Reputation: 49
I am having a problem. I have always developed applications in Android Studio and never had a problems, but now I had the following error:
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.4/userguide/gradle_daemon.html
I already changed in gradle.properties
the following line
org.gradle.jvmargs=-Xmx1536m
to
org.gradle.jvmargs=-Xmx1024m
I also delete the folder .gradle
in Users.
Upvotes: 2
Views: 12477
Reputation: 73
Check your local firewall. I found an update of the firewall in my AV software to cause the same error. When I disable the firewall, the demon start succeeds.
I had the same problem on 3 different PCs. I disabled the firewall and everything worked just fine. Even if my IDE is not blocked by the firewall.
I am using BullGuard's firewall on Windows 10 Home. Maybe there is a better way to solve this problem, because I actually don't want to disable the firewall everytime I start programming with gradle and java.
At least this worked just fine for the beginning.
Upvotes: 4
Reputation: 840
Check your local firewall. I found an update of the firewall in my AV software to cause the same error. When I disable the firewall, the demon start succeeds.
Upvotes: 1