cocos3.17.1 android编译错误,求助

External native generate JSON debug: JSON generation completed without problems
:gzdh:externalNativeBuildDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:gzdh:externalNativeBuildDebug’.

Unexpected native build target libcocos2dlua. Valid values are: ext_vorbisidec, ccds, cpufeatures, ccb, ets, luaccandroid, spine, ext_pvmp3dec, cocos2dlua, luacc, flatbuffers, ccs, ui, recast, c3d, audio, cc_core, net, ccandroid

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --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

30 actionable tasks: 2 executed, 28 up-to-date


环境 gradle4.6 Androidstudio3.0.1 ndk r16b
按照这个来的,也编译出这个错误,cmake也编译不过 什么鬼 cocos真是越来越垃圾了,每次编译Android一大堆问题
cd 到cocos2d-x 3.17.1根目录
cocos new test -p com.xx.test -l lua
2.修改gradle.properties
PROP_BUILD_TYPE=ndk-build

3.android.mk文件修改:
LOCAL_MODULE_FILENAME := cocos2dlua

3.17 以上不敢用 ,打包release经常闪退 已经回退3.16

3.17.1不是说修复安卓的崩溃了吗 还崩溃?