Proguard rules
See original GitHub issueplease can you add the library proguard rules cause i can’t use it in release it crashes, Here’s my logs:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/aspectj/runtime/reflect/Factory; at com.coremedia.iso.boxes.FileTypeBox.ajc$preClinit(SourceFile:1) at com.coremedia.iso.boxes.FileTypeBox.<clinit>(SourceFile:1) at com.abedelazizshe.lightcompressorlibrary.MP4Builder.createFileTypeBox(SourceFile:165) at com.abedelazizshe.lightcompressorlibrary.MP4Builder.createMovie(SourceFile:68) at com.abedelazizshe.lightcompressorlibrary.Compressor.compressVideo(SourceFile:139) at com.abedelazizshe.lightcompressorlibrary.VideoCompressor$startCompression$2.invokeSuspend(SourceFile:97) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:33) at kotlinx.coroutines.q0.run(SourceFile:106) at kotlinx.coroutines.r2.a.p(SourceFile:571) at kotlinx.coroutines.r2.a$b.c(SourceFile:738) at kotlinx.coroutines.r2.a$b.m(SourceFile:678) at kotlinx.coroutines.r2.a$b.run(SourceFile:665) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.aspectj.runtime.reflect.Factory" on path: DexPathList[[zip file "/data/app/com.test.myApp-YNBFyblaZMaQiAeyzfwhAg==/base.apk"],nativeLibraryDirectories=[/data/app/com.test.myApp-YNBFyblaZMaQiAeyzfwhAg==/lib/arm64, /data/app/com.test.myApp-YNBFyblaZMaQiAeyzfwhAg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at com.coremedia.iso.boxes.FileTypeBox.ajc$preClinit(SourceFile:1) at com.coremedia.iso.boxes.FileTypeBox.<clinit>(SourceFile:1) at com.abedelazizshe.lightcompressorlibrary.MP4Builder.createFileTypeBox(SourceFile:165) at com.abedelazizshe.lightcompressorlibrary.MP4Builder.createMovie(SourceFile:68) at com.abedelazizshe.lightcompressorlibrary.Compressor.compressVideo(SourceFile:139) at com.abedelazizshe.lightcompressorlibrary.VideoCompressor$startCompression$2.invokeSuspend(SourceFile:97) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:33) at kotlinx.coroutines.q0.run(SourceFile:106) at kotlinx.coroutines.r2.a.p(SourceFile:571) at kotlinx.coroutines.r2.a$b.c(SourceFile:738) at kotlinx.coroutines.r2.a$b.m(SourceFile:678) at kotlinx.coroutines.r2.a$b.run(SourceFile:665)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
@melkopisi thank you for the valuable information and I am glad the problem is solved. I believe the version I use is 1.8.2. I will investigate this further. Version 1.7.3 is used in isoparser 1.0.1, and I am using 1.0.6, unfortunately, updating isoparser is really a huge job at this stage. I will definitely work on that in the near future. Thank you.
Thank you for opening this issue. I will fix this as soon as possible. Will inform you. Thank you