cocos3.10 怎么编译安卓android-studio项目?

cocos 3.10 真心不明白为什么选择预编译库安卓项目仅仅只有proj.android 而没有proj.android-studio呢?google都不再对eclipse支持了,而且eclipse那IDE页面啊怎么能看得顺眼啊。
好吧,没有就没有吧,自己加,可是发现编译就通不过了

Android NDK: WARNING: Ignoring unknown import directory: /Users/Henry/Mobile/GameProjects/Sudoku-Android/proj.android-studio/…/cocos2d
Android NDK: WARNING: Ignoring unknown import directory: /Users/Henry/Mobile/GameProjects/Sudoku-Android/proj.android-studio/…/cocos2d/cocos
Android NDK: WARNING: Ignoring unknown import directory: /Users/Henry/Mobile/GameProjects/Sudoku-Android/proj.android-studio/…/cocos2d/external
Android NDK: jni/Android.mk: Cannot find module with tag ‘./prebuilt-mk’ in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
make: Entering directory /Users/Henry/Mobile/GameProjects/Sudoku-Android/proj.android-studio/app' jni/Android.mk:26: *** Android NDK: Aborting. . Stop. make: Leaving directory /Users/Henry/Mobile/GameProjects/Sudoku-Android/proj.android-studio/app’

貌似用3.9时就没遇到过“ NDK_MODULE_PATH”这错误,新版好多坑啊。
试过建个新项目,adroid没问题,可是android-studio怎么弄啊??:6:

Android Studio的gradle编译系统对native支持还很原始,没法满足需求。google那边也正在解决。目前引擎已经有proj.android-studio了啊,只是native编译还是需要通过cocos compile -p android --android-studio编译。

1赞

应该是framework新建的工程没有proj.android-studio。

NDK_MODULE_PATH 倒是找到了,在文件 build-cfg.jason 里

{
“ndk_module_path” :[
{COCOS_X_ROOT}/cocos2d-x-3.10", "{COCOS_X_ROOT}/cocos2d-x-3.10/cocos”,
“${COCOS_X_ROOT}/cocos2d-x-3.10/external”
],
“copy_resources”: [
{
“from”: “…/Resources”,
“to”: “”
}
]
}