-
-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unresolved reference: ChuckerInterceptor #1338
Comments
You're probably missing an import. Can you share your source file? |
The correct import is:
as you can see from the samples: https://github.com/ChuckerTeam/chucker/blob/main/sample/src/main/kotlin/com/chuckerteam/chucker/sample/OkHttpUtils.kt You need to gradle sync after you modified your gradle files |
I have sync my gradle successfully and i have try to import the above import manually but the result is the image above... :/ :/ |
Then please use this template: https://github.com/cortinico/kotlin-android-template |
I have the same error. I found that if you write only the implementation, don't debug and release, everything works. |
What do u mean dont debug?? I dont want to keep logs in the releave version |
Of course I am, too. |
✍️ Describe the bug
💣 Steps to reproduce
dependencies {
debugImplementation "com.github.chuckerteam.chucker:library:4.1.0"
releaseImplementation "com.github.chuckerteam.chucker:library-no-op:4.1.0"
}
📷 Screenshots
The text was updated successfully, but these errors were encountered: