fishwjy / VideoCompressor

A High-performance video compressor for Android using Hardware decoding and encoding API(MediaCodec).
Apache License 2.0
910 stars 192 forks source link

Native method not found #14

Open smkazemi opened 6 years ago

smkazemi commented 6 years ago

Must use NDK ?

 Caused by: java.lang.UnsatisfiedLinkError: Native method not found: compressor.VideoController.convertVideoFrame:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIII)I
                                                                               at compressor.VideoController.convertVideoFrame(Native Method)
                                                                               at compressor.VideoController.convertVideo(VideoController.java:633)
                                                                               at compressor.VideoCompress$VideoCompressTask.doInBackground(VideoCompress.java:51)
                                                                               at compressor.VideoCompress$VideoCompressTask.doInBackground(VideoCompress.java:32)
                                                                               at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                                               at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                                               at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 
                                                                               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 
                                                                               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 
                                                                               at java.lang.Thread.run(Thread.java:838) com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

How to Solve ?

rpandey66 commented 6 years ago
 Caused by: java.lang.NoSuchMethodError: No virtual method before(Lorg/aspectj/lang/JoinPoint;)V in class Lcom/googlecode/mp4parser/RequiresParseDetailAspect; or its super classes (declaration of 'com.googlecode.mp4parser.RequiresParseDetailAspect' appears in /data/app/com.udown-DeVSTkUu2N5C4LdxxHGH-g==/base.apk:classes10.dex)

How to resolve this