apk编译的时候出现这种 java.lang.NullPointerException (no error message) 的问题怎么解决 (有偿)

Parsing the SDK, no caching allowed
SDK initialized in 13 ms

FAILURE: Build failed with an exception.

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

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 2s
执行命令出错,返回值:1。

这个是错误代码不知道为什么编译会出现这种问题!有没有大佬帮解答一下!