cocos creator 构建发布apk编译报错问题

cocos creator编译发布到android平台时,编译报错,关键错误如下:

FAILURE: Build failed with an exception.

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

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
Error running command, return code: 1.

help me,这个问题怎样解决!