Development/cocos2d-x

cocos2d-x NDK_TOOLCHAIN_VERSION 변경방법

후미카 2016. 4. 1. 12:26


Application.mk 파일에 NDK_TOOLCHAIN_VERSION 을 추가하면 변경이 된다고 하지만 3.10버전에서는 변경이 되지 않는데 이것을 변강하는 방법 입니다.


{COCOS2D_ROOT}/tools/cocos2d-console/plugins/plugin_compile 폴더에 있는 build_android.py 파일을 변경 해 주면 됩니다.


build_android.py 폴더에 있는

def get_toolchain_version(self, ndk_root, compile_obj):
ret_version = "4.8"


위 부분의 4.8 부분을 해당 버전으로 변경 해주면 됩니다.