I wanted to integrate ffmpeg’s .so library in android project, but i am getting unsatisfied linkage error

  android, android-ffmpeg, android-ndk, c++, kotlin

enter image description hereenter image description hereE/AndroidRuntime: FATAL EXCEPTION: main
Process: com.mr.ffmpegso, PID: 17582
java.lang.UnsatisfiedLinkError: dlopen failed: library “libswresample.so” not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1667)
at com.mr.ffmpegso.MainActivity.(MainActivity.kt:34)

This is my CMakeList file1 image refers to filestructure

Source: StackOverflow C++

LEAVE A COMMENT