tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

Cannot build on Android #537

Closed iamprogramer closed 3 years ago

iamprogramer commented 4 years ago

Description Hello, this is very useful project. I am try to build it on Android and it worked when i use: // implementation project(':app') implementation 'com.arthenica:mobile-ffmpeg-full:4.4.LTS'

But when i try implementation project(':app') // implementation 'com.arthenica:mobile-ffmpeg-full:4.4.LTS'

It is not work. Could you help me, Please, thank you!

Logs Process: com.arthenica.mobileffmpeg.test, PID: 27197 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.arthenica.mobileffmpeg.test-zoanyGXbwgnfaNVdQiIEwg==/base.apk"],nativeLibraryDirectories=[/data/app/com.arthenica.mobileffmpeg.test-zoanyGXbwgnfaNVdQiIEwg==/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libmobileffmpeg_abidetect.so" at java.lang.Runtime.loadLibrary0(Runtime.java:1011) at java.lang.System.loadLibrary(System.java:1657) at com.arthenica.mobileffmpeg.AbiDetect.(AbiDetect.java:33) at com.arthenica.mobileffmpeg.AbiDetect.getNativeAbi(Native Method) at com.arthenica.mobileffmpeg.Config.(Config.java:131) at com.arthenica.mobileffmpeg.Config.setFontDirectory(Config.java:357) at com.arthenica.mobileffmpeg.test.MainActivity.registerAppFont(MainActivity.java:177) at com.arthenica.mobileffmpeg.test.MainActivity.onCreate(MainActivity.java:130)

HBiSoft commented 4 years ago

You need to compile the libraries first.

Have a look at the Readme - https://github.com/tanersener/mobile-ffmpeg#52-build-scripts

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.