android.view.InflateException: Binary XML file line #12: Error inflating class

后端 未结 30 2351
伪装坚强ぢ
伪装坚强ぢ 2020-11-22 13:48

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

30条回答
  •  旧巷少年郎
    2020-11-22 14:30

    I know it is an answered question, but I do not see the cause that I faced.

    It was that Android Studio placed my drawables in /drawable-V24 My emulator is API 23. So, eventually it can not find it.

    The solution was to move all drawables to /drawable folder (no -24).

提交回复
热议问题