-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minify enabled app crashes #99
Comments
@atiyakamal19 hey i can reproduce the issue. looks like issue related to ffmpeg native code. i will update sdk to new ffmpeg-kit and check the build if i still face the issue i will create issue in ffmpeg-kit repo. will check the proguard rules as well |
@atiyakamal19 with ffmpeg-kit the issue is fixed. i will create a new release with the fix by today. |
Thank you. |
@atiyakamal19 Fixed in the 1.7.17 version. but, apk size is increased due to ffmpeg-kit. |
Thank you for solving the issue :) |
ffmpeg-kit's minSDK version is 24. so, this library have to stick with it. minsdkversion 24 is preferred while creating a new project in android studio. so, u may consider it. or else v1.7.16 uses ffmpeg-kit-LTS version thats minsdkversion is 19. |
Hi,
I was getting error on android 13 "storage permission denied"
To fix the above issue, I have upgraded to
'com.github.a914-gowtham:android-video-trimmer:1.7.14'
As it was documented in the issues.
For the above update to work
I have upgraded gradle version and kotlin version
'com.android.tools.build:gradle:7.3.1'
ext.kotlin_version = '1.8.0'
After doing this I am getting this error
Please help me with this issue.
I have tried other solutions provided.But it didnt work for me.
E/mobile-ffmpeg: OnLoad thread failed to GetStaticMethodID for log.
A/valaya.defted: java_vm_ext.cc:594] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.NoSuchMethodError: no static method "Lcom/arthenica/mobileffmpeg/Config;.log(JI[B)V"
java_vm_ext.cc:594] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.Class) (Runtime.java:-2)
java_vm_ext.cc:594] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:1121)
java_vm_ext.cc:594] at void java.lang.Runtime.loadLibrary0(java.lang.ClassLoader, java.lang.Class, java.lang.String) (Runtime.java:1075)
java_vm_ext.cc:594] at void java.lang.Runtime.loadLibrary0(java.lang.Class, java.lang.String) (Runtime.java:998)
java_vm_ext.cc:594] at void java.lang.System.loadLibrary(java.lang.String) (System.java:1661)
java_vm_ext.cc:594] at void com.arthenica.mobileffmpeg.Config.() (SourceFile:133)
java_vm_ext.cc:594] at int com.arthenica.mobileffmpeg.Config.ffmpegExecute(long, java.lang.String[]) (SourceFile:623)
java_vm_ext.cc:594] at int com.arthenica.mobileffmpeg.FFmpeg.execute(java.lang.String[]) (SourceFile:68)
java_vm_ext.cc:594] at void com.gowtham.library.ui.ActVideoTrimmer.lambda$execFFmpegBinary$9(java.lang.String[], boolean) (SourceFile:607)
java_vm_ext.cc:594] at void com.gowtham.library.ui.ActVideoTrimmer.$r8$lambda$4WzYOItr90a8C4LEKMKUX6DCkWI(com.gowtham.library.ui.ActVideoTrimmer, java.lang.String[], boolean) (SourceFile:-1)
java_vm_ext.cc:594] at void com.gowtham.library.ui.ActVideoTrimmer$$ExternalSyntheticLambda8.run() (SourceFile:-1)
java_vm_ext.cc:594] at void java.lang.Thread.run() (Thread.java:1012)
java_vm_ext.cc:594]
java_vm_ext.cc:594] in call to NewGlobalRef
java_vm_ext.cc:594] from java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.Class)
W/Parcel: Expecting binder but got null!
The text was updated successfully, but these errors were encountered: