Android NDK *** could not be resolved
2016-06-16 15:53
399 查看
Type '*****' could not be resolved
Method '******' could not be resolved
等等很多诸如此类的错误
解决方法:
是由于没有将jni.h导入的缘故,而这个文件在ndk的目录下面。所以,参照以下步骤:
Project Properties -> C/C++ General -> Path and Symbols
选择include标签,Add -> $Android_NDK_HOME/platforms/android-14/arch-arm/usr/include
且选中All languages.
最后Apply -> OK
这样错误就解决了。
Method '******' could not be resolved
等等很多诸如此类的错误
解决方法:
是由于没有将jni.h导入的缘故,而这个文件在ndk的目录下面。所以,参照以下步骤:
Project Properties -> C/C++ General -> Path and Symbols
选择include标签,Add -> $Android_NDK_HOME/platforms/android-14/arch-arm/usr/include
且选中All languages.
最后Apply -> OK
这样错误就解决了。
相关文章推荐
- android之存储篇_SQLite数据库_让你彻底学会SQLite的使用
- 使用Kotlin进行Android开发
- Android中Cursor类的概念和用法
- Android数据请求之Volley框架
- Android省市县三级联动 真实项目抽出 调用只需3行代码 源码免积分下载
- Android文摘学习2016.6.15
- AndroidStudio “gradle project sync failed”错误解决方法
- android自定义View
- 44-android5.0 Palette和Clipping
- 【Android】监听自定义通知栏消息事件
- Android Studio利用Gradle删除没有使用到的资源和代码文件
- 【Android】30、常见控件的使用方法——ImageView
- Android CountDownTimer倒计时器的使用
- Android代码规范
- Android用AIDL创建Service
- android开发之-百度地图的多语言问题
- Android Studio 插件 Statistic
- 史上最易懂的Android jni开发资料--NDK环境搭建
- Android Design Support Library
- 【Android 应用开发】GitHub 优秀的 Android 开源项目