I am receiving many errors of kind displayed in the subj. These errors seems to be occasional and I cannot reproduce them. From stack I can learn that such error may occurs
For me, the error message was actually insufficient in the log cat, so here's what I did to figure out what caused the problem:
(In the log cat error message, it said the error occurred while inflating a specific layout in my HomeFragment.java)
Evaluate expression
on it:
Run > Evaluate Expression
or alt - F8
tools:targetApi="lollipop"
(the bug only occurred on older devices).