at android.widget.Toast$TN$1.handleMessage(java.lang.IllegalStateException)

bugly上发现了一个很奇怪的崩溃,显示toast时崩了。记录下,后续查出来问题,再补充下。

 

09-17 15:54:03.681 13461 13461 E AndroidRuntime: java.lang.IllegalStateException: View android.widget.LinearLayout{bb07d1 V.E...... ......ID 0,0-305,119} has already been added to the window manager.
5309-17 15:54:03.681 13461 13461 E AndroidRuntime: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:331)
5409-17 15:54:03.681 13461 13461 E AndroidRuntime: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94)
5509-17 15:54:03.681 13461 13461 E AndroidRuntime: at android.widget.Toast$TN.handleShow(Toast.java:500)
5609-17 15:54:03.681 13461 13461 E AndroidRuntime: at android.widget.Toast$TN$1.handleMessage(Toast.java:404)
5709-17 15:54:03.681 13461 13461 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
5809-17 15:54:03.681 13461 13461 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
5909-17 15:54:03.681 13461 13461 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6600)
6009-17 15:54:03.681 13461 13461 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
6109-17 15:54:03.681 13461 13461 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
6209-17 15:54:03.681 13461 13461 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:821)

你可能感兴趣的:(安卓)