我有一个第三方library,它具有ffmpeg作为依存关系,并且在执行线程时遇到此错误。
Process: com.joe.epmediademo, PID: 11906
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_bsf_next" referenced by "/data/app/com.joe.epmediademo-U-buiUc64rYJquAlCAhK5A==/lib/arm/libffmpeg.so"...
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
at Jni.FFmpegCmd.<clinit>(FFmpegCmd.java:24)
at Jni.FFmpegCmd.exec(FFmpegCmd.java:73)
at VideoHandle.EpEditor.execCmd(EpEditor.java:571)
at VideoHandle.EpEditor.exec(EpEditor.java:135)
at com.joe.epmediademo.Activity.EditActivity.execVideo(EditActivity.java:182)
at com.joe.epmediademo.Activity.EditActivity.onClick(EditActivity.java:106)
at android.view.View.performClick(View.java:6297)
at android.view.View$PerformClick.run(View.java:24797)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6626)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)