Search code examples
androidlibvlcandroid-x86

Having compiled LibVLC .so files for x86 cpu's


I have an Android application to stream video and audio, which uses the LibVLC sdk.

I took the relevant .java files and .so jni files from the following git: https://github.com/wass08/VLC-Simple-Player-Android

Now I'm trying to load my application in my Galaxy tablet instead of my Nexus phone, and that causes an exception. After some research I've figured out that I need the LibVLC .so files also for x86 cpu's, or else it won't work.

You've probably noticed that the .so files I have in that git are only for armeabi-v7a, so I need .so files for x86 as well.

I couldn't find them anywhere online, and couldn't compile LibVLC by myself in my PC. Can anyone help me with providing those missing libraries?

Thanks in advance


Solution

  • You have to compile it by yourself, I assume your PC running Windows, and you have to build it on Linux, so I would recommend you using some kind of vmware just for building.

    You can find instructions here but be ready for it not gonna be simple.