I was trying to build my project with pre-built libs.
So, I did cocos gen-libs, everything was ok. But then I created new project with -t binary.
Now I have one of 2 problems:
With
$(call import-module, android/cpufeatures/prebuilt-mk)
in cocos\prebuilt-mk\Android.mk I got following error message:
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
Android NDK: D:\libs/cocos2d-x-3.13.1/cocos/./prebuilt-mk/Android.mk: Cannot find module with tag 'android/cpufeatures/prebuilt-mk' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
I've tried to fix this by replacing
$(call import-module, android/cpufeatures/prebuilt-mk)
with
$(call import-module, android/cpufeatures)
And now I have following errors:
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//editor-support/cocostudio/CCSSceneReader.cpp:550: error: undefined reference to 'atof'
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp:261: error: undefined reference to 'atof'
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp:265: error: undefined reference to 'atof'
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp:144: error: undefined reference to 'atof'
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//./base/ccRandom.h:117: error: undefined reference to 'rand'
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//./base/ccRandom.h:117: error: undefined reference to 'rand'
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//./base/ccRandom.h:103: error: undefined reference to 'rand'
D:/libs/cocos2d-x-3.13.1/tools/simulator/frameworks/runtime-src/proj.android/../../../../../cocos//./base/ccRandom.h:103: error: undefined reference to 'rand'
etc.
I didn't found solution for this neither in google nor in this forum. So whar I did wrong? Or what should I do to fix this?
I use android-ndk-r12b, abi android-19 and Cocos 3.13.1.