Loading [MathJax]/jax/element/mml/optable/GeneralPunctuation.js

Cocos2d-x项目移植到安卓平台易出现的错误

1、path错误

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.

解决方案:在项目 proj.android\jni\Android.mk 文件中添加路径:

(call import-add-path, “这里为引擎目录”)\ (call import-add-path, 这里为引擎目录\cocos2d\cocos2d-2.0-x-2.0.2\cocos2dx\platform\third_party\android\prebuilt)\

 

posted @   Le Ciel  阅读(214)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示