https://kotlinlang.org logo
#chucker
Title
# chucker
s

Suraj Sahani

12/01/2023, 5:28 PM
Hi, Everyone, I am trying to implement debug version of chucker in my android app.
_debugImplementation_("com.github.chuckerteam.chucker:library:4.0.0")
Okhttp
Copy code
fun provideHttpClient(context: Context
): OkHttpClient {
    val okHttpClientBuilder = OkHttpClient.Builder()
        .addInterceptor(ChuckerInterceptor(context))
    okHttpClientBuilder.addInterceptor(provideLogInterceptor())
getting this error,
Can't determine type for tag '<macro name="m3_comp_assist_chip_container_shape">?attr/shapeAppearanceCornerSmall</macro>'
at run time at the latest version. Manage to run it on older version od Chucker which is
debugImplementation 'com.github.chuckerteam.chucker:library:3.5.2'
Even after doing this Not getting an y notification. My Android Level is 13, and already added
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
this to my Android Manifest. Anything else I'm missing here??
v

Vova Buberenko

12/01/2023, 5:52 PM
Which version of
material-components
library you use in the project? The error seems like incompatibility between versions.
Chucker uses 1.10.0 as you can see here: https://github.com/ChuckerTeam/chucker/blob/main/build.gradle#L11 It is highly likely that you need to update your project.
☝️ 1
s

Suraj Sahani

12/02/2023, 3:50 AM
I have tried that as well, Even after setting
implementation 'com.google.android.material:material:1.10.0'
to latest version still getting same error
v

Vova Buberenko

12/04/2023, 7:36 AM
The reason is only in your project's dependencies. Please use Google as this is a common issue.
67 Views