1、当做安卓移植的时候遇到如下问题:
Android NDK: jni/Android.mk: Cannot find module with tag ‘CocosDenshion/android‘ 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:19: *** Android NDK: Aborting. . Stop.
主要是因为我们NDK_MODULE_PATH环境变量配置错了,这里我们需要配置两个路径D:\cocos2d-x和D:\cocos2d-x\cocos2dx\platform\third_party\android\prebuilt正是因为我们直接的从window下拷贝路径才出现这里的问题的,所以我们在设置NDK_MODULE_PATH环境变量的时候路径要这样写才是对的D:/cocos2d-x;D:/cocos2d-x/cocos2dx/platform/third_party/android/prebuilt(意思的把反斜杠改成正斜杠就可以了)
2、可以参考博客
http://blog.csdn.net/wwj_748/article/details/30072379http://blog.csdn.net/wwj_748/article/details/30072379
Cocos2d-x 2.2.3 使用NDK配置安卓编译环境问题之 Cannot find module with tag 'CocosDenshion/android' in import path