rurico / flutter_video_compress

Generate a new file by compressed video, and provide metadata. Get video thumbnail from a video path, supports JPEG/GIF. To reduce app size not using FFmpeg in IOS.
MIT License
190 stars 73 forks source link

Crashes app #1

Closed Maliffic closed 5 years ago

Maliffic commented 5 years ago

On compress video the app just crashes.

E/flutter (16713): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/att.moe.fluttervediocompressexample-gbpmaA3AowDifB_AlSEofw==/base.apk"],nativeLibraryDirectories=[/data/app/att.moe.fluttervediocompressexample-gbpmaA3AowDifB_AlSEofw==/lib/x86, /data/app/att.moe.fluttervediocompressexample-gbpmaA3AowDifB_AlSEofw==/base.apk!/lib/x86, /system/lib]]] couldn't find "libpldroid_shortvideo_core.so" E/flutter (16713): at java.lang.Runtime.loadLibrary0(Runtime.java:1012) E/flutter (16713): at java.lang.System.loadLibrary(System.java:1669) E/flutter (16713): at com.qiniu.pili.droid.shortvideo.b.l.(ShortVideoCore.java:32) E/flutter (16713): at com.qiniu.pili.droid.shortvideo.b.l.a(ShortVideoCore.java:14) E/flutter (16713): at com.qiniu.pili.droid.shortvideo.b.p.(ShortVideoTranscoderCore.java:157) E/flutter (16713): at com.qiniu.pili.droid.shortvideo.PLShortVideoTranscoder.(PLShortVideoTranscoder.java:18)

rurico commented 5 years ago

This seems to be a problem with the x86 platform. For this I have added support for x86. This problem is solved, now the package name is called flutter_video_compress, if you have any questions, you can open this issue again, thank you for the issue.