编译cocos2dx 工程,ndk-build 报错:

前端之家收集整理的这篇文章主要介绍了编译cocos2dx 工程,ndk-build 报错:前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

编译cocos2dx 工程,ndk-build 报错:

miujundeMacBook-Pro:proj.android miaojun$ ndk-build

Android NDK: jni/Android.mk: Cannot find module with tag 'cocos' 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:

jni/Android.mk:211: *** Android NDK: Aborting. . Stop.



Android.mk添加


$(call import-add-path,$(LOCAL_PATH)/../../../..)

$(call import-add-path,$(LOCAL_PATH)/../../../../external)

$(call import-add-path,$(LOCAL_PATH)/../../../../cocos)

$(call import-add-path,$(LOCAL_PATH)/../../../publish)

猜你在找的Cocos2d-x相关文章