android loadlibrary失败 动态库连接动态库,android加载动态链接库出现崩溃的现象的解决办法...
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1936]: 91 could not load needed library 'libavdevice-56.so' for 'libffmpeg_codec.so' (load_library[1091]: Library 'libavdevic
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1936]: 91 could not load needed library 'libavdevice-56.so' for 'libffmpeg_codec.so' (load_library[1091]: Library 'libavdevice-56.so' not found)
//解决的办法是写对加载so库的顺序,就像下面
static { System.loadLibrary("avutil-54"); System.loadLibrary("swresample-1"); System.loadLibrary("swscale-3"); System.loadLibrary("avcodec-56"); System.loadLibrary("avformat-56"); System.loadLibrary("avfilter-5"); System.loadLibrary("avdevice-56"); System.loadLibrary("ffmpeg_codec"); }
更多推荐
所有评论(0)