[NDK]APP_ALLOW_MISSING_DEPS=true to allow missing dependencies

魏凯捷
2023-12-01

APP_ALLOW_MISSING_DEPS=true to allow missing dependencies

编译ndk 的时候,导致这种情况,原因在于ndk本地的版本比要编译的库的ndk版本高,提示有些依赖不在
可以这么解决:
1降低本地ndk 版本,但是,可能必须代价,譬如ndkr10 跟r14比较,少了c++11的写法,那么有些函数无法使用,譬如
std::to_string();等
或者,
2可以加上代码  (android.mk 或者application.mk)
APP_ALLOW_MISSING_DEPS :=true
 类似资料: