Android: How to track down the origin of a InflateException?

前端 未结 7 1616
时光取名叫无心
时光取名叫无心 2020-11-27 21:37

While starting my application I get the following warning in Logcat:

04-09 10:28:17.830: WARN/WindowManager(52): Exception when adding starting window
04-09          


        
7条回答
  •  暖寄归人
    2020-11-27 22:10

    I know this is a bit late but I spent all day trying to figure this one out and finally with the help of this SO question I realized an XML file in the example I was trying out was using a feature from a later API and Lint wasn't catching it because the file hadn't changed. As soon as I did a random edit on the XML file and saved the file then the error about a later API showed up.

提交回复
热议问题