gpt4 book ai didi

android - K4LVideoTrimmer 中的 ClassNotFoundException : com. coremedia.iso.boxes.FileTypeBox

转载 作者:行者123 更新时间:2023-11-29 14:30:13 25 4
gpt4 key购买 nike

我正在尝试集成 Video -Trimming https://github.com/knowledge4life/k4l-video-trimmer并面临以下错误。我试图按照各种帖子中的建议更改混淆器。但还不能成功。请帮助。提前致谢。

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) 

最佳答案

这是一个 known problem with Proguard .

解决方法是编辑您的 proguard-pro.cfg 并添加:

-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.**

那么您签名的 apk 就不会崩溃。

关于android - K4LVideoTrimmer 中的 ClassNotFoundException : com. coremedia.iso.boxes.FileTypeBox,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42255141/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com