material-components-android
material-components-android copied to clipboard
[material:1.9.0] Android resource linking failed after update to 1.9.0
Description: I'm migrating from 1.5.0 to 1.9.0 and when I start making the project and I'm getting
Android resource linking failed error: resource style/ShapeAppearanceOverlay (aka my.company:style/ShapeAppearanceOverlay) not found. error: failed linking references.
I tried 1.7.0 , 1.80, and the same error, I tried 1.6.0 and build with no problems,
I search in the whole project for ShapeAppearanceOverlay and deleted everything related with the overlay hopping it will fix the issue, but is persisting
Even tried with 1.10.0 same error
It sounds like you're seeing this issue when upgrading from 1.6.0 to 1.7.0. Could you try updating all dependencies to the minimum required versions in the "New minimum requirements for your app's project" section of the 1.7.0 release notes?
These are my version for the Minimum requirements androidx.appcompat -> 1.6.1 androidx.core -> 1.10.0 androidx.test:core -> 1.5.0 (this one is ok with core or do i need to use the full dependecy?) AGP -> 7.4 Gradle -> 7.5 Java -> 11 Kotlin -> 1.8.0 SDK -> 33
Tried removing all themes from all material components and also removing all the themes from material
Those dependencies look ok, what version of Android Studio are you using? As of the 1.7.0 release, version Chipmunk or later is required.
Interesting, that looks fine. Could you please upload a sample of your project showing your theming structure and any theme attributes your app uses?
Would you like me to send how all our themes and how all materials components are implemented?
Facing same issue. What's the solution
I have found a band aid, still testing to ensure nothing breaks, hope to get a response from a developer Still can't find what is producing the error, check everything and migrated what needed to migrate, I was still getting the error so I just added in my app themes file and fix it, but still looking for anything that may be broken