Open hackerLeiWei opened 7 years ago
java.lang.UnsatisfiedLinkError means the library .so files aren't found by the Java code loading the native library.
Instead of using videoView.setVideoURI and videoView.setVideoPath, use the media player to load a Media object from the repository instead. Then load the Media object into a MediaPlayer object.
If you want to run an HTTP/RTSP address instead of a local file, you simply need to refer to the VLC documentation to find the right command to load a URI/MRL instead of a local file.
@mrmaffen Can you help me to connect http or rtsp address? My application doesn`t work well in V2.0.6.This is my question:
1.When I use "videoView.setVideoPath",it run crash:
java.lang.UnsatisfiedLinkError: No implementation found for void org.videolan.libvlc.Media.nativeNewFromPath(org.videolan.libvlc.LibVLC, java.lang.String) (tried Java_org_videolan_libvlc_Media_nativeNewFromPath and Java_org_videolan_libvlc_Media_nativeNewFromPath__Lorg_videolan_libvlc_LibVLC_2Ljava_lang_String_2)
2.When I use "videoView.setVideoURI",it also run crash:
java.lang.UnsatisfiedLinkError: No implementation found for void org.videolan.libvlc.Media.nativeNewFromLocation(org.videolan.libvlc.LibVLC, java.lang.String) (tried Java_org_videolan_libvlc_Media_nativeNewFromLocation and Java_org_videolan_libvlc_Media_nativeNewFromLocation__Lorg_videolan_libvlc_LibVLC_2Ljava_lang_String_2) That`s all, Thanks!