Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError: unloadOMX_native #13

Closed
vbauer opened this issue Jun 9, 2013 · 3 comments
Closed

java.lang.UnsatisfiedLinkError: unloadOMX_native #13

vbauer opened this issue Jun 9, 2013 · 3 comments

Comments

@vbauer
Copy link

vbauer commented Jun 9, 2013

The most popular error in my application (notification error from Google Play Developer's Console):

java.lang.UnsatisfiedLinkError: unloadOMX_native
at io.vov.vitamio.MediaPlayer.unloadOMX_native(Native Method)
at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:135)
at io.vov.vitamio.activity.PlayerService.vplayerInit(PlayerService.java:104)
at io.vov.vitamio.activity.PlayerService.initialize(PlayerService.java:145)
at io.vov.vitamio.activity.VideoActivity$3.handleMessage(VideoActivity.java:566)
at android.os.Handler.dispatchMessage(Handler.java:130)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:4668)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:552)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:917)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
at dalvik.system.NativeStart.main(Native Method)

@Ltty
Copy link

Ltty commented Jun 26, 2013

This problem was already there in 3.0. If you leave the application and you come back you have to call the init() function again in your onResume() method. Then this error will be gone.

@SufianBabri
Copy link

@Ltty by init(), do you mean:

if(!LibsChecker.checkVitamioLibs(this)) {
    return;
}

@SufianBabri
Copy link

I fixed this error by executing LibsChecker.checkVitamioLibs(this) every time I opened my player screen.

Somewhere crossle said that you have to init Vitamio whenever you update the app version code (i.e if user inited Vitamio in your app versionCode 12, he will need to init it again if he updates it to versionCode 13, etc. I think it also applies to downgrading).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants