Hi, Everyone, I am trying to implement debug versi...
# chucker
s
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
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
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
The reason is only in your project's dependencies. Please use Google as this is a common issue.