http://www.cnblogs.com/flyme/p/4431762.html
http://blog.youkuaiyun.com/sodino/article/details/41946607
http://www.race604.com/android-studio-with-ndk/?utm_source=tuicool
http://blog.youkuaiyun.com/zjclugger/article/details/51305968
Android .mk文件语法规范及使用模板https://wenku.baidu.com/view/f76ae92ea5e9856a5612605a.html?qq-pf-to=pcqq.c2c
谈谈 Android NDK 编译选项设置https://www.v2ex.com/t/299697
Android 实现视屏播放器、边播边缓存功能、外加铲屎(IJKPlayer)http://www.jianshu.com/p/9fe377dd9750?1489977919888?ref=myread https://github.com/Bilibili/ijkplayer https://github.com/CarGuo/GSYVideoPlayer https://github.com/lipangit/JieCaoVideoPlayer
so库与ABI选择:
由于sdk包含了多个ABI(包括armeabi,armeabi-v7a ,arm64-v8a,x86 ,x86_64)的so库,而应用可能只采用了一种ABI(如(armeabi-v7a),所以导致接入的sdk后有些cpu架构读取不到应用中的so文件。
解决办法:在项目gradle脚本中添加:
android {
defaultConfig {
ndk{
abiFilters "armeabi-v7a"
}
}
}
这样可以过滤SDK中的其他ABI的so库。(参考http://bbs.9ria.com/thread-438967-1-1.html; http://www.aichengxu.com/android/11004466.htm)