'Starting a Gradle Daemon, 2 busy and 6 stopped Daemons could not be reused, use --status for details

When i tried to create a new gradle project with 'gradle init' it just created "infinite" gradle daemons until my memory was full and i got following error after every daemon:

'Starting a Gradle Daemon, 2 busy and 6 stopped Daemons could not be reused, use --status for details'

When i ran gradle --status for diagnostics i got following report:

'Unable to stop one of the daemons. The daemon may have crashed.'

How do I solve the problem?



Solution 1:[1]

this issue raised when build with incompatible gradle version andngradle plugin version please check https://developer.android.com/studio/releases/gradle-plugin

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kururu95