Android APP 调试过程中遇到的问题。
天蓬老师
天蓬老师 2017-04-17 17:48:55
0
2
465

调试过过程中APP安装完启动后有的时候会异常退出,报这个错误。有的时候可以直接启动。查找不到原因。
网上说把commit方法替换成commitAllowingStateLoss() 也无效。

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
Peter_Zhu

I basically ignored it. It only appeared during debugging and compilation. It would not appear during normal APP overlay installation. Similar errors would appear in EC in the past. Did you use Instant Run?

伊谢尔伦


It means that your call is called near the end of the activity life cycle.
It is estimated that one of your asynchronous messages (the message that triggers commit) arrives at the wrong time. You should handle this situation , when you cannot commit, you need to skip it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template