iamyorchdev / iamyorchdev/video-compressor
crash on android 4.2.2 (API 17)
- Dominant language
- C
- Stars
- 263
- Forks
- 87
- PR merge metrics
- No merged PRs in 30d
Description
i have an error when run on android 4.2.2, this is log:
```
11-18 18:20:15.321 20575-21673/com.lalongooo.videocompressor W/dalvikvm: No implementation found for native Lorg/telegram/Utilities;.convertVideoFrame:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIII)I
11-18 18:20:15.346 20575-21673/com.lalongooo.videocompressor E/tmessages: time = 465
11-18 18:20:15.346 20575-21673/com.lalongooo.videocompressor W/dalvikvm: threadid=12: thread exiting with uncaught exception (group=0x415b8a08)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: java.lang.RuntimeException: An error occured while executing doInBackground()
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:299)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:239)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.lang.Thread.run(Thread.java:864)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: Native method not found: org.telegram.Utilities.convertVideoFrame:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIII)I
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at org.telegram.Utilities.convertVideoFrame(Native Method)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at com.lalongooo.videocompressor.video.MediaController.convertVideo(MediaController.java:590)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at com.lalongooo.videocompressor.MainActivity$VideoCompressor.doInBackground(MainActivity.java:131)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at com.lalongooo.videocompressor.MainActivity$VideoCompressor.doInBackground(MainActivity.java:120)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:287)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:234)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
11-18 18:20:15.356 20575-21673/com.lalongooo.videocompressor E/AndroidRuntime: at java.lang.Thread.run(Thread.java:864)
```
i think it needs load the native lib for convertVideoFrame fuction
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.