Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined
来源:互联网 发布:万云网络 编辑:程序博客网 时间:2024/06/08 07:30
运行Helloworld报错
Android NDK: jni/Android.mk: Cannot find module with tag 'cocos2dx' 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.
Android.mk引用了一个模块,cocos2dx模块,而NDK没有找到它,所以报了这个错,
之前的版本是直接包含cocos2dx模块的Android.mk的,所以不会报错
而这里使用了import,我们也可以使用之前版本的方法来包含它,但貌似import比之前的方法要更好一些
错误信息提示我们,可以通过设置NDK_MODULE_PATH环境变量,这里很有可能设置错误
一般,一个Android.mk包含一个或多个模块,当你要import cocos2dx模块时,
他会在这个路径下% NDK_MODULE_PATH\cocos2dx寻找Android.mk文件
所以我们编辑我们的Builder
添加NDK_MODULE_PATH变量,注意要写两个路径,用分号分开
D:\SDK\cocos2d-2.0-rc0a-x-2.0;D:\SDK\cocos2d-2.0-rc0a-x-2.0\cocos2dx\platform\third_party\android\prebuilt
因为cocos2dx还import了其他几个module,第二个路径制定了第三方的module,设置完就可以进行编译了
-----
end
- Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined
- (三)error:Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined
- Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined
- Are you sure your NDK_MODULE_PATH variable is properly defined ?
- 使用ec编译cocos项目是出现Android.mk文件报错Are you sure your NDK_MODULE_PATH variable is properly defined 的解决办法
- Android NDK: ERROR: You NDK_MODULE_PATH variable contains spaces
- Could not extract package's data directory. Are you sure that your installed application is debuggab
- ERROR: Could not extract package's data directory. Are you sure that your installed application is d
- Could not get BatchedBridge, make sure your bundle is packaged properly
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
- android 关于Make sure the plugin is properly configured问题的解决办法
- android 关于Make sure the plugin is properly configured问题的解决办法
- android 关于Make sure the plugin is properly configured问题的解决办法
- android 重启 adb 遇到 Make sure the plugin is properly configured
- android 关于Make sure the plugin is properly configured问题的解决办法
- android 关于Make sure the plugin is properly configured问题的解决办法
- android 关于Make sure the plugin is properly configured问题的解决办法
- Login failed:make sure your username and password are correct and that you’re an admin or moderator
- shell中的map使用
- cocos2d-x 安卓环境配置 -转
- 1.1 自话粒子群
- RakNet学习(49) -- Router2
- android之退出应用程序
- Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined
- 《长尾经济》 笔记
- cocos2d-x-2.2 window下配置笔记(ADT+android-ndk-r9b) 无cygwin。非常全面!!!!
- RakNet学习(50) -- SQLite3LoggerPlugin设置
- 杭州奢侈品寄售哪儿好
- 嵌入式开发基础--Linux与windows的共享问题解决方法一
- 杭州奢侈品寄售回收哪儿好
- linux下星际译王stardict 及词典的安装
- windows7 64位安装eclipse 插件spket 搭建ExtJS提示