Gradle execution fails: unknown command line option '--daemon'

I am using the latest version of Android Studio (0.8.2). On my other computer, the same code was successfully generated.

This means that the build scripts are correct.

Therefore, I assume that this is something with the Gradle configuration, but I double-checked all the configs:

  • I completely deleted the .gradle folder in the C: \ Windows \ Users {MyUser} .gradle folder to remove the old configurations;
  • gradle The .properties file does not have any parameters without commenting.

enter image description here

What am I missing?

Attention! I did not specify the parameter --daemon. Or I think so :( I can not find it in Gradle's default settings and in the project

And I created a completely new project in the studio. This did not help - same error (

+4
2

. , Android .

Reason of the issue

+3

Android Studio Gradle. Gradle Tooling API, , , --daemon ( ).

+1

Source: https://habr.com/ru/post/1548683/


All Articles