When I try to open a video from the camera with the trimmer on android the app is crash
and got this error
E/AndroidRuntime(15705): FATAL EXCEPTION: mqt_native_modules E/AndroidRuntime(15705): Process: com.updated.app, PID: 15705 E/AndroidRuntime(15705): java.lang.RuntimeException: Could not invoke RNTrimmerManager.getPreviewImages E/AndroidRuntime(15705): at com.facebook.react.bridge.JavaMethodWrapper.invoke() E/AndroidRuntime(15705): at com.facebook.react.bridge.JavaModuleWrapper.invoke() E/AndroidRuntime(15705): at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) E/AndroidRuntime(15705): at android.os.Handler.handleCallback(Handler.java:739) E/AndroidRuntime(15705): at android.os.Handler.dispatchMessage(Handler.java:95) E/AndroidRuntime(15705): at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage() E/AndroidRuntime(15705): at android.os.Looper.loop(Looper.java:159) E/AndroidRuntime(15705): at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() E/AndroidRuntime(15705): at java.lang.Thread.run(Thread.java:818) E/AndroidRuntime(15705): Caused by: java.lang.reflect.InvocationTargetException E/AndroidRuntime(15705): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(15705): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime(15705): ... 9 more E/AndroidRuntime(15705): Caused by: java.lang.NoSuchFieldError: no "J" field "mNativeContext" in class "Lwseemann/media/FFmpegMediaMetadataRetriever;" or its superclasses E/AndroidRuntime(15705): at wseemann.media.FFmpegMediaMetadataRetriever.native_init(Native Method) E/AndroidRuntime(15705): at wseemann.media.FFmpegMediaMetadataRetriever.() E/AndroidRuntime(15705): at com.shahenlibrary.Trimmer.b.b() E/AndroidRuntime(15705): at com.shahenlibrary.Trimmer.TrimmerManager.getPreviewImages() E/AndroidRuntime(15705): ... 11 more
Current Behavior
When I try to open a video from the camera with the trimmer on android the app is crash
and got this error
E/AndroidRuntime(15705): FATAL EXCEPTION: mqt_native_modules E/AndroidRuntime(15705): Process: com.updated.app, PID: 15705 E/AndroidRuntime(15705): java.lang.RuntimeException: Could not invoke RNTrimmerManager.getPreviewImages E/AndroidRuntime(15705): at com.facebook.react.bridge.JavaMethodWrapper.invoke() E/AndroidRuntime(15705): at com.facebook.react.bridge.JavaModuleWrapper.invoke() E/AndroidRuntime(15705): at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) E/AndroidRuntime(15705): at android.os.Handler.handleCallback(Handler.java:739) E/AndroidRuntime(15705): at android.os.Handler.dispatchMessage(Handler.java:95) E/AndroidRuntime(15705): at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage() E/AndroidRuntime(15705): at android.os.Looper.loop(Looper.java:159) E/AndroidRuntime(15705): at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() E/AndroidRuntime(15705): at java.lang.Thread.run(Thread.java:818) E/AndroidRuntime(15705): Caused by: java.lang.reflect.InvocationTargetException E/AndroidRuntime(15705): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(15705): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime(15705): ... 9 more E/AndroidRuntime(15705): Caused by: java.lang.NoSuchFieldError: no "J" field "mNativeContext" in class "Lwseemann/media/FFmpegMediaMetadataRetriever;" or its superclasses E/AndroidRuntime(15705): at wseemann.media.FFmpegMediaMetadataRetriever.native_init(Native Method) E/AndroidRuntime(15705): at wseemann.media.FFmpegMediaMetadataRetriever.() E/AndroidRuntime(15705): at com.shahenlibrary.Trimmer.b.b() E/AndroidRuntime(15705): at com.shahenlibrary.Trimmer.TrimmerManager.getPreviewImages() E/AndroidRuntime(15705): ... 11 more
Your Environment