I am creating a new c++ project using cocos2dx version 3.15.1. for creating the so file i used the command
cocos compile -p android --android-studio --no-apk //here cocos is of cocos2d-x-3.15.1
the output of the command is
Python 2.7.10
Building mode: debug
Using Android Studio project : /Users/rohitsingh/workspace/Lakdi/proj.android-studio
Build succeed.
but no so is generated.
it is not running the following commands
1 android update project command
2 android-ndk-r10e/ndk-build -C
how can i compile it.
and i also want to now how cocos compile pass the android.mk file to ndk-build. or how cocos compile works.
if i am changing cocos-project.json file engine_version as
{
“custom_step_script”: “./custom_script.py”,
“engine_version”: “cocos2d-x-3.11”,
“project_type”: “cpp”
}
it is compiling.