question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

please 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:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AbedElazizShecommented, Mar 3, 2021

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

1reaction
AbedElazizShecommented, Feb 16, 2021

Thank you for opening this issue. I will fix this as soon as possible. Will inform you. Thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

ProGuard Manual: Usage
ProGuard documentation about usage, configuration and options. ... This modifier is only useful for achieving unusual requirements.
Read more >
Shrink, obfuscate, and optimize your app
R8 uses ProGuard rules files to modify its default behavior and better understand your app's structure, such as the classes that serve as...
Read more >
Practical ProGuard rules examples | by Wojtek Kaliciński
In this part, I'd like to talk about the practical examples of ProGuard rules on a medium sized sample app: Plaid by.
Read more >
Configuring ProGuard | CodePath Android Cliffnotes
ProGuard is a tool to help minify, obfuscate, and optimize your code. ... The proguard-rules.pro file is the file that you will use...
Read more >
ProGuard in Android
Let's take a look at how we can create custom rules in Proguard. 1. Maintaining class files. Assume we have a data class...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found