Android material chip component crashing app. Unable to inflate xml
Update your app theme to inherit from one of these themes:
Theme.MaterialComponents
Theme.MaterialComponents.NoActionBar
Theme.MaterialComponents.Light
Theme.MaterialComponents.Light.NoActionBar
Theme.MaterialComponents.Light.DarkActionBar
For example:
<style name="AppTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
Note: Using a Material Components theme enables a custom view inflater
Source:
https://www.material.io/develop/android/docs/getting-started/
App Crashing with android material Chip Group with material 1.3.0
Replace your AppTheme with this:
<style name="AppTheme" parent="Theme.MaterialComponents.Light.NoActionBar.Bridge">
MaterialCardView crashes with material:1.1.0
you can just keep it in your materialcardview itself also:
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="8dp"
**** android:theme="@style/Theme.MaterialComponents.Light" *****
app:cardElevation="8dp">
Related Topics
Android Audiorecord Supported Sampling Rates
How to Get the Rgb Values from a Bitmap on Android
How to Bring View in Front of Everything
How to Extract the File Name from Uri Returned from Intent.Action_Get_Content
Recyclerview Crashes When "Scrapped or Attached Views May Not Be Recycled"
How to Display Multiple Notifications in Android
Why There's a Separate Mutablelivedata Subclass of Livedata
How to Distinguish Between Move and Click in Ontouchevent()
Android Marshmallow: Test Permissions with Espresso
How to Pass Parameters to Onclicklistener
Difference Between iPhone Simulator and Android Emulator
No Resource Identifier Found for Attribute '...' in Package 'Com.App....'
Android Emulator VS Real Device
Android: Autocomplete Textview Similar to the Facebook App
Android - Google Play Like Tabs
How to Retrieve More Than 1000 Rows from Parse.Com