新建cocos2d-x 3.15版 cpp 空项目 控制台编译不通过

编译命令及参数: cocos compile -p andorid --ap android-19 --android-studio -m release
报错信息: #error “Cannot recognize the target platform; are you targeting an unsupported platform?”
其它现象:1.在android studio IDE中能编译通过, cocos console方式编译debug版也能通过,只有编译release才报此错
2. cocos console执行上面编译指令后, android studio 自动产生的 local.properties 文件里的内容格式不正确(如下,冒号前没有反斜杠, android studio 有红色错误标记)
sdk.dir=C:\android-sdk-windows
ndk.dir=C:\android-ndk-r10d

自己过来结贴:

cocos2d-x升级到3.15版,android-studio升级到了2.3.3.后,貌似只能使用android-studio自带的Android NDK, 不能使用自己安装的ndk, 原因暂时还不清楚。只是改成了android-studio自带的ndk后,解决了问题。