-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Android Vitamio 5.0.2 update Android 7 Nougat crash #385
Comments
Same thing happening for me. |
Found any solution ? |
See if the following can help or not. java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: libstlport_shared.so Reading mediaplyer.java you would see that Vitamio add checking of SDK_INT at :
My experience is that even though with SDK_INT > 20, the librarypath of different handset's implementation could be different and hence java.lang.UnsatisfiedLinkError may be triggered.
You can try and see if it can solve your problem. |
Same problem. This solution doesn't solve my problem. |
Dont change vitamio SDK folder names, or file names, make sure u have it. Check all files, and try again. |
Hi FloridaStream, I don't change any vitamio SDK folder names, or file names. Android 7.0 nougat same error. |
Sorry, i cant help more, vitamio have too many problems, every day has +1 =( |
-_- |
1 similar comment
-_- |
Same error here. Any advance from Vitamio devs? |
Hi guys Try the folowing: Append to Vitamio's MediaPlayer.java an extra condition check at both points (MediaPlayer constructor and static clause) where
to enforce Vitamio to check the alternative path for Android 7.0 Tried the above and worked on a Nexus 5X, which just got updated to Nougat and was giving me the same errors when starting my app. Hope this helps. |
Hi Robsred, I tested your code on Nexus 9 with Android 7.0 NRĐ0M but still error. Thanks! |
Same error here |
i tried robsred answer worked perfectly on Nexus 6P Nougat #savemyday |
Not working robsred solution for me in android studio emulator with android 7. |
android4.3 occurs this problem too |
@hoanganh2020 Excuse me, have you settled it now? and How did you solve it? |
@FloridaStream I am getting error... can you please help |
Im also getting the same error : java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: libstlport_shared.so |
Did you try Vitamio 5.2? |
@masmil1988 i have a problem |
@tannt275 I don't know, I'm just a Vitamio user 😕 |
@masmil1988 Your solution work for me, in nexus 5x 7.1.1, I replaced all things about my vitamio to 5.2 version, Thanks a lot |
@Jan31 and others, try ijkplayer, is better than vitamio, the best for android and iOS. https://github.com/Bilibili/ijkplayer
Vitamio is outdated of features and improvments. R.I.P. README.md 03/03/17 ijkplayer
Video player based on ffplay Download
My Build Environment
Latest ChangesFeatures
NOT-ON-PLAN
Before Build
Build Android
Build iOS
Support (支持)
License
ijkplayer required features are based on or derives from projects below:
android/ijkplayer-exo is based on or derives from projects below:
android/example is based on or derives from projects below:
ios/IJKMediaDemo is based on or derives from projects below:
ijkplayer's build scripts are based on or derives from projects below: Commercial Useijkplayer is licensed under LGPLv2.1 or later, so itself is free for commercial use under LGPLv2.1 or later But ijkplayer is also based on other different projects under various licenses, which I have no idea whether they are compatible to each other or to your product. IANAL, you should always ask your lawyer for these stuffs before use it in your product. |
@FloridaStream can i build ijkPlayer project in window, it seem have to build in Linux and MacOS? |
With this vitamio version work fine:
|
This solution is actually working... Thanks man. With this vitamio version work fine: |
5.2.3 version worked fine! |
HI @khantpd01405 , Can you please give that vitamio version here again. Link to download above is not working... Thanks, |
HI @amaroarcast , Can you please give that vitamio version here again. Link to download above is not working... Thanks, |
Hi @immujeeb use can clone this repository https://github.com/yixia/VitamioBundleStudio, , it's the newest version . During work with it if you have some problem. please for me know. ^^ |
hi all, i use vitamio version 5.2.3 and get the same problem and i have tried all the above solutions and nothing works. then i try to change the code bit on MediaPlayer.java
and replace it with
after that I try in emulator android 7.1.1 and succeed |
Yup having errors with the bundle gonna try the link that everyone is using |
Hi Folks i know its late but at least it not never :D go to MediaPlaayer.java and change line 361 like this
and its working now on nougat Have a nice Day 💃 |
Don't you guys forget to initialize the Vitamio in onCreate() |
where is the url of vitamio version 5.2.3 ? |
Hi,
I used Vitamio 5.0.2 update Android 7 Nougat but crash.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.fivething.vietmobi, PID: 3404
java.lang.UnsatisfiedLinkError: No implementation found for void io.vov.vitamio.MediaPlayer.native_init() (tried Java_io_vov_vitamio_MediaPlayer_native_1init and Java_io_vov_vitamio_MediaPlayer_native_1init__)
at io.vov.vitamio.MediaPlayer.native_init(Native Method)
at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:306)
at io.vov.vitamio.widget.VideoView.openVideo(VideoView.java:428)
at io.vov.vitamio.widget.VideoView.setVideoURI(VideoView.java:400)
at io.vov.vitamio.widget.VideoView.setVideoURI(VideoView.java:393)
at com.fivething.vietmobi.Player.e(Player.java:390)
at com.fivething.vietmobi.Player.c(Player.java:295)
at com.fivething.vietmobi.Player$2.onSuccess(Player.java:268)
at com.loopj.android.http.JsonHttpResponseHandler$1$1.run(JsonHttpResponseHandler.java:154)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:5969)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:801)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:691)
E/Vitamio[Player]: Error loading libs
java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: libstlport_shared.so
at java.lang.Runtime.load0(Runtime.java:889)
at java.lang.System.load(System.java:1505)
at io.vov.vitamio.MediaPlayer.load_lib(MediaPlayer.java:258)
at io.vov.vitamio.MediaPlayer.(MediaPlayer.java:319)
at io.vov.vitamio.widget.VideoView.openVideo(VideoView.java:428)
at io.vov.vitamio.widget.VideoView.setVideoURI(VideoView.java:400)
at io.vov.vitamio.widget.VideoView.setVideoURI(VideoView.java:393)
at com.fivething.vietmobi.Player.e(Player.java:390)
at com.fivething.vietmobi.Player.c(Player.java:295)
at com.fivething.vietmobi.Player$2.onSuccess(Player.java:268)
at com.loopj.android.http.JsonHttpResponseHandler$1$1.run(JsonHttpResponseHandler.java:154)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:5969)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:801)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:691)
The text was updated successfully, but these errors were encountered: