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

前端 未结 7 1608
时光取名叫无心
时光取名叫无心 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 21:49

    After so many hectic research on finding the answer that why App is crashing and why its not showing the logcat

    I have just replaced this

    android:configChanges="orientation|keyboardHidden"
    

    to

    android:configChanges="keyboardHidden|orientation|screenSize"
    

    in the activity tag.

提交回复
热议问题