Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
[QUESTION] 3.11 Why we got these "may crash " and "Unsupported source file extensions" warnings, when compile android project with build_native.py #15643
yiliudeMac-mini:proj.android yiliu$ python build_native.py -b debug
/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x
Parse NDK version from file /Volumes/data/dev_programs/android-ndk-r10e/RELEASE.TXT failed.
NDK_TOOLCHAIN_VERSION: 4.9
Your application may crash when using c++ 11 regular expression with NDK_TOOLCHAIN_VERSION 4.9
/Volumes/data/dev_programs/android-ndk-r10e/ndk-build -j1 -C /Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android NDK_DEBUG=1 NDK_MODULE_PATH=/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/..:/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x:/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/external:/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/cocos NDK_TOOLCHAIN_VERSION=4.9
Android NDK: WARNING: Unsupported source file extensions in /Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/cocos/scripting/js-bindings/proj.android/Android.mk for module cocos2d_js_static
My questions:
1,Which version of NDK we should choices?
2, How to fix "Unsupported source file extensions"?
yiliudeMac-mini:proj.android yiliu$ python build_native.py -b debug /Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x Parse NDK version from file /Volumes/data/dev_programs/android-ndk-r10e/RELEASE.TXT failed. NDK_TOOLCHAIN_VERSION: 4.9 Your application may crash when using c++ 11 regular expression with NDK_TOOLCHAIN_VERSION 4.9 /Volumes/data/dev_programs/android-ndk-r10e/ndk-build -j1 -C /Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android NDK_DEBUG=1 NDK_MODULE_PATH=/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/..:/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x:/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/external:/Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/cocos NDK_TOOLCHAIN_VERSION=4.9 Android NDK: WARNING: Unsupported source file extensions in /Volumes/data/work/git/play2math/dev/frameworks/runtime-src/proj.android/../../cocos2d-x/cocos/scripting/js-bindings/proj.android/Android.mk for module cocos2d_js_static
My questions: 1,Which version of NDK we should choices? 2, How to fix "Unsupported source file extensions"?