2017-02-15 1 views
1

ビデオを調整しようとしています。https://github.com/knowledge4life/k4l-video-trimmerと次のエラーが発生しました。私は様々なポストで示唆されているようにプロガードを変更しようとしました。しかし、まだ成功することはできませんでした。助けてください。あらかじめありがとうございます。ClassNotFoundException:K4LVideoTrimmerのcom.coremedia.iso.boxes.FileTypeBox

02-15 21:59:20.843 5421-5679/? E/AndroidRuntime: FATAL EXCEPTION: pool-8-thread-2 
              Process: com.abc.main, PID: 5421 
              java.lang.RuntimeException: java.lang.ClassNotFoundException: com.coremedia.iso.boxes.FileTypeBox 
               at com.b.a.g.a(Unknown Source) 
               at com.b.a.a.a(Unknown Source) 
               at com.d.a.d.r(Unknown Source) 
               at com.d.a.d.hasNext(Unknown Source) 
               at com.d.a.c.e$1.hasNext(Unknown Source) 
               at com.b.a.d.a(Unknown Source) 
               at com.d.a.a.b.a.a.a(Unknown Source) 
               at life.knowledge4.videotrimmer.b.b.a(Unknown Source) 
               at life.knowledge4.videotrimmer.b.b.a(Unknown Source) 
               at life.knowledge4.videotrimmer.K4LVideoTrimmer$3.a(Unknown Source) 
               at life.knowledge4.videotrimmer.b.a$a.run(Unknown Source) 
               at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) 
               at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154) 
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269) 
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
               at java.lang.Thread.run(Thread.java:818) 
               Caused by: java.lang.ClassNotFoundException: com.coremedia.iso.boxes.FileTypeBox 
               at java.lang.Class.classForName(Native Method) 
               at java.lang.Class.forName(Class.java:324) 
               at java.lang.Class.forName(Class.java:285) 
               at com.b.a.g.a(Unknown Source)  
               at com.b.a.a.a(Unknown Source)  
               at com.d.a.d.r(Unknown Source)  
               at com.d.a.d.hasNext(Unknown Source)  
               at com.d.a.c.e$1.hasNext(Unknown Source)  
               at com.b.a.d.a(Unknown Source)  
               at com.d.a.a.b.a.a.a(Unknown Source)  
               at life.knowledge4.videotrimmer.b.b.a(Unknown Source)  
               at life.knowledge4.videotrimmer.b.b.a(Unknown Source)  
               at life.knowledge4.videotrimmer.K4LVideoTrimmer$3.a(Unknown Source)  
               at life.knowledge4.videotrimmer.b.a$a.run(Unknown Source)  
               at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)  
               at java.util.concurrent.FutureTask.run(FutureTask.java:237)  
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154)  
               at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)  
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)  
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  
               at java.lang.Thread.run(Thread.java:818)  
+0

ここにチェック:http://stackoverflow.com/questions/30321373/mp4parser-runs-on-device-from-android-studio-but-crashes-when-manually-installin –

答えて

3

これはknown problem with Proguardです。次に、あなたの署名APKがクラッシュしなくなります

-keep class * implements com.coremedia.iso.boxes.Box {* ; } 
-dontwarn com.coremedia.iso.boxes.* 
-dontwarn com.googlecode.mp4parser.authoring.tracks.mjpeg.** 
-dontwarn com.googlecode.mp4parser.authoring.tracks.ttml.** 

この問題を回避するには、あなたのProGuardの-pro.cfgを編集して、これを追加することです。

関連する問題