Error : IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents

There is some issue with material:1.1.0-alpha01

A simple solution is to change the parent theme

<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
        <!-- Customize your theme here. -->
       
</style>

Leave a Comment