Could not create plugin of type 'AppPlugin'


What is the real cause of problem “Could not create plugin of type ‘AppPlugin’.”?

How can i solve it?

Full log of Libgdx:

Generating app in D:\_DELVELOPMENT\java\gdx\test
Executing 'D:\_DELVELOPMENT\java\gdx\test/gradlew.bat clean --no-daemon'
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: ... aemon.html.
Configuration on demand is an incubating feature.
  FAILURE: Build failed with an exception.
  * Where:
Build file 'D:\_DELVELOPMENT\java\gdx\test\build.gradle' line: 46
  * What went wrong:
A problem occurred evaluating root project 'test'.
> Could not create plugin of type 'AppPlugin'.
  * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

‘AppPlugin’ is not a plugin that ships with Gradle, so it’s probably best to ask the libgdx folks. Running with ‘–stacktrace’ will show the stack trace.