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

前端 未结 4 1789
既然无缘
既然无缘 2020-12-01 16:18

I am developing a simple app. Just finished the home screen. If the orientation changes more than two times, it is throwing the error and application is force closing.

4条回答
  •  渐次进展
    2020-12-01 16:24

    Sorry for my bad English

    I had the same problem, if you put any "xml" files into "drawable-24" just move them to "drawable", this was the solution that i did to solve this problem

    have a nice day :)

提交回复
热议问题