
Android NDK
月十二
这个作者很懒,什么都没留下…
展开
-
android NDK jni下的c文件 Unresolved inclusion
原因是在eclipse编辑环境中没有找到对应的include中的文件。解决方法是将包含该文件的include目录作为新的linked folder加入工程中。具体方法如下: 1. 右击工程->New->Folder 2. 对话框中点击Advanced 3. 选择Link to alternate location (Linked Folder),选择需要的include目录 4.原创 2014-06-12 14:37:48 · 556 阅读 · 0 评论 -
java.lang.UnsatisfiedLinkError: Native method not found解决方法
java.lang.UnsatisfiedLinkError: Native method not found 三种可能解决方案 so文件编译生成后,运行时,有时候会遇到java.lang.UnsatisfiedLinkError: Native method not found问题,有可能是以下三种因素: 一、Jni方法头部大小写问题 在C++中,方法原创 2014-06-12 15:10:19 · 4227 阅读 · 0 评论 -
eclipse中出现Type 'xxxx' could not be resolved的处理方法
原创 2014-06-12 14:40:23 · 5778 阅读 · 0 评论