chucker
chucker copied to clipboard
Can't determine type for tag '<macro name="m3_comp_bottom_app_bar_container_color">?attr/colorSurface</macro>'
:writing_hand: Describe the bug
I got this exception when setup Checker:
Can't determine type for tag '
Sorry but this is too little information for us to reproduce.
We are using material version 1.0.0 in our current project so getting this error. How to fix it? Not able to match to material version 1.8.0 which chucker is using as it is breaking other things. What is the alternative for this?
@kanch231004 doing something like this would help:
debugImplementation("com.github.chuckerteam.chucker:library:<version>") {
exclude group: "com.google.android.material", module: "material"
}
as it will exclude the transitive dependency on MDC that Chucker is adding
Could not find method com.github.chuckerteam.chucker:library:3.5.2() for arguments [build_4zas3xewxvwlhl95ah6tj79nb$_run_closure11$_closure87@625a2fb3] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
That's a problem in your build file. Can you share it? Also is it a build.gradle
or a build.gradle.kts
?
Yes right,
Getting this error as we are using material 1.0.0 and after excluding I think material component versions used by chucker are not found. How can I continue using my material component version and also resolve this UI issue?
Android resource linking failed
ERROR:/Users/kanchan.pal/.gradle/caches/transforms-3/97e1310236b3ac4afdb7e58ecaa2a718/transformed/jetified-library-3.5.2/res/values/values.xml:96:5-108:13: AAPT: error: style attribute 'attr/colorSurface (aka com.flipkart.android:attr/colorSurface)' not found.
ERROR:/Users/kanchan.pal/.gradle/caches/transforms-3/97e1310236b3ac4afdb7e58ecaa2a718/transformed/jetified-library-3.5.2/res/values/values.xml:96:5-108:13: AAPT: error: style attribute 'attr/colorOnPrimary (aka com.flipkart.android:attr/colorOnPrimary)' not found.
ERROR:/Users/kanchan.pal/.gradle/caches/transforms-3/97e1310236b3ac4afdb7e58ecaa2a718/transformed/jetified-library-3.5.2/res/values/values.xml:96:5-108:13: AAPT: error: style attribute 'attr/colorOnSecondary (aka com.flipkart.android:attr/colorOnSecondary)' not found.
ERROR:/Users/kanchan.pal/.gradle/caches/transforms-3/97e1310236b3ac4afdb7e58ecaa2a718/transformed/jetified-library-3.5.2/res/values/values.xml:96:5-108:13: AAPT: error: style attribute 'attr/colorOnBackground (aka com.flipkart.android:attr/colorOnBackground)' not found.
ERROR:/Users/kanchan.pal/.gradle/caches/transforms-3/97e1310236b3ac4afdb7e58ecaa2a718/transformed/jetified-library-3.5.2/res/values/values.xml:96:5-108:13: AAPT: error: style attribute 'attr/colorOnSurface (aka com.flipkart.android:attr/colorOnSurface)' not found.
How can I continue using my material component version and also resolve this UI issue?
Sorry this is not possible. You should update the version of Material you use. Chucker needs it to render complex UI and we don't support down till material 1.0.0.
An alternative for you is to use a older version of Chucker, like 3.2.0
or so.
Hi same issue i am facing i have updated material and app compact both after that i am facing linking issue .
i have tried exclude option as well but not got success. Please [help]([u
NOTE-> previously we are using chukker 3.5.2 with sdk 32 its working fine i have upgraded sdk version 32 to 33 so that we need to update the chukker version 4.0 after upgrading chukker we are getting macro tag error.
Getting same issue