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.87k stars 791 forks source link

java.lang.UnsatisfiedLinkError #563

Closed sanketkoladiya closed 3 years ago

sanketkoladiya commented 4 years ago

Hello there i am using the mobile FFmpeg lib for one of my app , below is the dependency from my project

implementation 'com.arthenica:mobile-ffmpeg-full:4.4.LTS'

Expected behavior Its should be working on app android version of mobile, but it's giving me a crash, below is the description about the crash and device details, I am getting this crash from the app bundle and on app bundle split by API is enabled in my Gradle

minSdkVersion 16 targetSdkVersion 29

abi { enableSplit = true }

Current behavior java.lang.UnsatisfiedLinkError: at java.lang.Runtime.loadLibrary (Runtime.java:372) at java.lang.System.loadLibrary (System.java:988) at com.arthenica.mobileffmpeg.AbiDetect. (AbiDetect.java) at com.arthenica.mobileffmpeg.AbiDetect.getNativeAbi (AbiDetect.java) at com.arthenica.mobileffmpeg.Config. (Config.java)

Environment

Any help will be appreciated, Thank you in advance

sanketkoladiya commented 4 years ago

@tanersener can you please provide the feedback for this?

tanersener commented 4 years ago

Why don’t you use APK analyzer to check whether armeabi-v7a is included or not?

You can also copy the settings from android test application under the android/test-app folder.

sanketkoladiya commented 4 years ago

ok Thanks @tanersener but by default, all the abi would be included as I am not specifying particular single abi, so its should be working

tanersener commented 4 years ago

There is something wrong in your build.gradle then.

.aar files published by mobile-ffmpeg include armeabi-v7a. It is tested and verified.

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.