creator编译报错,求解

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:slggame’.

java.lang.NullPointerException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s
执行命令出错,返回值:1。

windows 平台的项目,可以试试把构建项目根目录放到 C 盘,然后再重新构建编译。