Below is my configuration. This works on Android Lollipop but crash on Android Kitkat.
I tried every workaround here but can\'t help:
Error inflating class and
Option 1: Make sure that the file names matches- "@mipmap/icon.png" nd "@mipmap/icon.xml"
Option 2: In the degub window u will see the Resource id as : r-0X000fd something.... go to the R file nd check for this resource due to which the error is generated....
To do so : C:\Users\akshyata\Desktop\FoodSanta_Folders\FoodSanta\app\build\generated\source\r\debug\'your_package_name'\R.java
Open the R file in notepad nd do "CTRL+F" nd type the resource id. You will find the resource which generated the error...GO nd solve the error
Happy Coding