cocos2dx编译安卓命令时提示Could not determine java version from '18.0.2.1'.

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine java version from ‘18.0.2.1’.

  • 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.

有人知道怎么处理这个错误吗,现在编译不成功