I have a com.google.android.material.button.MaterialButton component in one of my layout file and I get this error when I am using the latest version of the Material Compone
if u want to keep using your old styles but only want to extend from 'Theme.MaterialComponents' then you can use 'Bridge'.