✍️ Describe the bug
I have a project that uses Chucker, which also uses a library that uses Chucker. The library is still using 3.2.0, and when I updated my app to 3.3.0 and ran it, it crashed at runtime with this error:
java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;Lcom/chuckerteam/chucker/api/ChuckerCollector;JLjava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V in class Lcom/chuckerteam/chucker/api/ChuckerInterceptor; or its super classes (declaration of 'com.chuckerteam.chucker.api.ChuckerInterceptor' appears in /data/app/~~GJiF7AJl427rbyfaLOyo1A==/com.myproject-GIw2-OO7zIRGQFD6KsWDQg==/base.apk)
According to @cortinico,
Seems like the ChuckerInterceptor(Context, ChuckerCollector, Set) is missing.
💣 Steps to reproduce
- Have a library with Chucker 3.2.0.
- Have an app with Chucker 3.3.0, and which uses the above library.
- Launch app.
- Observe crash.
🔧 Expected behavior
App should not crash.
📄 Additional context
Adding the missing constructor will make it easier to migrate to Chucker 3.3.0.
✍️ Describe the bug
I have a project that uses Chucker, which also uses a library that uses Chucker. The library is still using 3.2.0, and when I updated my app to 3.3.0 and ran it, it crashed at runtime with this error:
According to @cortinico,
💣 Steps to reproduce
🔧 Expected behavior
App should not crash.
📄 Additional context
Adding the missing constructor will make it easier to migrate to Chucker 3.3.0.