Skip to content

java.lang.UnsatisfiedLinkError #31

@Ramnath85

Description

@Ramnath85

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions