最近准备研究一下Android平台上的ffmpeg,先实现一个音乐播放器。虽说有Andless开源项目,但是依旧想学习ffmpeg。使用NDK-r8编译,花了大约20来分钟,就生成了相应的.so文件,无奈该apk在2.3系统的手机上运行时,出现了如下错误,花了几天时间找寻答案,无果....
01-19 00:07:55.073: D/dalvikvm(3118): GC_EXTERNAL_ALLOC freed 82K, 45% free 2538K/4547K, external 2749K/2773K, paused 52ms01-19 00:07:55.206: D/dalvikvm(3118): GC_EXTERNAL_ALLOC freed 5K, 45% free 2535K/4547K, external 3492K/3518K, paused 28ms01-19 00:07:58.760: D/dalvikvm(3118): Trying to load lib /data/data/cz.havlena.ffmpeg.ui/lib/libjniaudio.so 0x4044745001-19 00:07:58.760: D/FFMpeg(3118): Couldn't load lib: jniaudio - Cannot load library: reloc_library[1313]: 1199 cannot locate '_ZN7android10AudioTrack3setEijiiijPFviPvS1_ES1_iRKNS_2spINS_7IMemoryEEEb'...01-19 00:07:58.760: D/dalvikvm(3118): Trying to load lib /data/data/cz.havlena.ffmpeg.ui/lib/libjnivideo.so 0x4044745001-19 00:07:58.760: D/dalvikvm(3118): Added shared lib /data/data/cz.havlena.ffmpeg.ui/lib/libjnivideo.so 0x4044745001-19 00:07:58.760: D/dalvikvm(3118): No JNI_OnLoad found in /data/data/cz.havlena.ffmpeg.ui/lib/libjnivideo.so 0x40447450, skipping init01-19 00:07:58.760: D/dalvikvm(3118): Trying to load lib /data/data/cz.havlena.ffmpeg.ui/lib/libffmpeg_jni.so 0x4044745001-19 00:07:58.760: D/FFMpeg(3118): Couldn't load lib: ffmpeg_jni - Cannot load library: link_image[1964]: 1199 could not load needed library 'libjniaudio.so' for 'libffmpeg_jni.so' (find_library[1221]: 1199 'libjniaudio.so' failed to load previously)01-19 00:07:58.760: D/FFMpegPlayerActivity(3118): Error when inicializing ffmpeg: Couldn't load native libs
在CSDN上请求各位大神,帮我解决一下。谢谢!