vlc-android-sdk
vlc-android-sdk copied to clipboard
UnsatisfiedLinkError
I'm getting a UnsatisfiedLinkError:
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) at org.videolan.libvlc.Media.nativeNewFromPath(Native Method)
Here's what I did:
So I included the dependency
compile "de.mrmaffen:vlc-android-sdk:2.0.6"
then I added a videoview in layout:
<org.videolan.libvlc.media.VideoView
android:id="@+id/videoview"
android:layout_width="match_parent"
android:layout_height="250dp" />
After that I added it in my MainActivity:
VideoView videoView = (VideoView) findViewById(R.id.videoview);
videoView.setVideoPath("storage/emulated/0/a.mp4");
videoView.start();
Please tell me If I'm missing something or doing something wrong. Note: I'm playing it in android M