android - FFmpegMediaPlayer: findLibrary returned null -
i use https://github.com/wseemann/ffmpegmediaplayer in application, android device throw exception:
java.lang.exceptionininitializererror @ ru.mypackage.playservice.initplayer(playservice.java:74) @ ru.mypackage.playservice.oncreate(playservice.java:68) @ android.app.activitythread.handlecreateservice(activitythread.java:1949) @ android.app.activitythread.access$2500(activitythread.java:117) @ android.app.activitythread$h.handlemessage(activitythread.java:989) @ android.os.handler.dispatchmessage(handler.java:99) @ android.os.looper.loop(looper.java:130) @ android.app.activitythread.main(activitythread.java:3687) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:507) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:867) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:625) @ dalvik.system.nativestart.main(native method) caused by: java.lang.unsatisfiedlinkerror: couldn't load avutil: findlibrary returned null @ java.lang.runtime.loadlibrary(runtime.java:429) @ java.lang.system.loadlibrary(system.java:554) @ wseemann.media.ffmpegmediaplayer.<clinit>(ffmpegmediaplayer.java:620) ... 13 more
can explain me what's wrong there? on device , other device app working nice, on device (for example: galaxy ace (gt-s5830i) android 2.3.3 - 2.3.7) throw exception.
p.s. "lib" prefix understood ( https://developer.android.com/reference/java/lang/system.html#maplibraryname(java.lang.string) )
you have place armeabi
file under jnilibs
folder (you have create it) in app/src/main/
. hope helps.
Comments
Post a Comment