【Android】APP_ALLOW_MISSING_DEPS=true 错误
来源:互联网 发布:mac触摸板透明 编辑:程序博客网 时间:2024/06/03 20:28
1.问题:在使用ndk r14b时,JNI编译时遇到了下面错误:
.......Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop........
2.解决方法:
在网上搜了下,不少人遇到此问题,解决方法都是回退版本,如ndk r10就可以解决问题了?但是这样的回退是有代价的,像不能使用c++11的东西,std::to_string()那么好用的函数都不能用,多么可惜,啰嗦那么多,解决方案是:
在Android.mk中设置
APP_ALLOW_MISSING_DEPS :=true
即可。
可以继续玩耍了……
阅读全文
1 0
- 【Android】APP_ALLOW_MISSING_DEPS=true 错误
- *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop
- [NDK]APP_ALLOW_MISSING_DEPS=true to allow missing dependencies
- android:alwaysRetainTaskState = true
- android:addStatesFromChildren="true"
- android:fillViewport=\"true\"
- android:singleLine="true"
- android:clearTaskOnLaunch="true"
- android:largeHeap="true"
- android:excludeFromRecents="true"
- android:largeHeap="true"
- android:duplicateParentState="true"
- android:fillViewport="true"
- android:excludeFromRecents="true"
- android:debuggable="true"
- android:excludeFromRecents="true"
- android:autoText="true"
- android:allowbackup="true"
- Error occurred during initialization of VM due to java.nio.charset.IllegalCharsetNameException
- CSS之window的视图属性
- 《算法导论》第18章 B树 个人笔记
- 你真的理解java中的null“类型”吗?
- Android网络请求心路历程
- 【Android】APP_ALLOW_MISSING_DEPS=true 错误
- 禁止viewpager滑动
- 关于define与defined的区别
- monkey学习记录
- Timeout时间已到
- py-faster-rccn问题集中营
- 29.活动的4种启动模式
- php与ajax(jquery)示例
- CPU和GPU的区别