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 #31

Open
Ramnath85 opened this issue Jul 24, 2018 · 2 comments
Open

java.lang.UnsatisfiedLinkError #31

Ramnath85 opened this issue Jul 24, 2018 · 2 comments

Comments

@Ramnath85
Copy link

I have added implementation 'com.madhavanmalolan.android:ffmpegandroidlibrary:0.0.4' in my dependencies and jcenter under repositories.

I tried to do a simple test as below:

try {
                Controller.getInstance().run(new String[]{
                            "-y",
                            "-i",
                            mp4_location,
                            "-vcodec",
                            "copy",
                            "-an",
                            mux_location
                });
            } catch (Exception er) {
                System.out.println("failed: "+er);

And got the below error:
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.tabaud.musik-K25pRG8-9drkRBScyQosFw==/base.apk", zip file "/data/app/com.tabaud.musik-K25pRG8-9drkRBScyQosFw==/split_lib_directories_apk.apk", zip file "/data/app/com.tabaud.musik-K25pRG8-9drkRBScyQosFw==/split_lib_resources_apk.apk"],nativeLibraryDirectories=[/data/app/com.tabaud.musik-K25pRG8-9drkRBScyQosFw==/lib/x86, /data/app/com.tabaud.musik-K25pRG8-9drkRBScyQosFw==/base.apk!/lib/x86, /data/app/com.tabaud.musik-K25pRG8-9drkRBScyQosFw==/split_lib_directories_apk.apk!/lib/x86, /data/app/com.tabaud.musik-K25pRG8-9drkRBScyQosFw==/split_lib_resources_apk.apk!/lib/x86, /system/lib, /system/vendor/lib]]] couldn't find "libffmpeg.so"

Am i missing any additional configuration here? please suggest.

@duncanokeyo
Copy link

this lib is compiled for arm but i can see your phone architecture as x86, meaning you will have to compile ffmpeg to support x86...

@mansiJspaceo
Copy link

mansiJspaceo commented Jan 10, 2020

hello

i build .so file for all architecture. now i can not get how to build libffmpeg.so for run ffmpeg command. can you please give me some brief idea about it

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

3 participants