加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

NDK中依赖其他库编译带来的问题

发布时间:2020-12-13 19:41:19 所属栏目:百科 来源:网络整理
导读:描述: Android NDK: jni/Android.mk: Cannot find module with tag '******' 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/An

描述:

Android NDK: jni/Android.mk: Cannot find module with tag '******' 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:21: *** Android NDK: Aborting. 。 停止。


NDK_MODULE_PATH设置有问题。


解决方法:

1、在Application.mk文件中加入 NDK_MODULE_PATH:=路径 。

2、在 $(call import-module,CocosDenshion/android) $(call import-module,cocos2dx) $(call import-module,extensions) 的前面加上: $(call import-add-path,/home/yc/cocos2d-2.1beta3-x-2.1.0/) $(call import-add-path,/home/yc/cocos2d-2.1beta3-x-2.1.0/cocos2dx/platform/third_party/android/prebuilt) 保存退出,重新编译,问题解决

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读