1
我得到java.lang.IllegalStateException:reportDropResult()被非收件人例外,当我在蜂窝上使用拖动功能时。我想用setDefaultUncaughtExceptionHandler来防止关闭应用程序。它进入方法,但之后所有线程都冻结,并且android显示强制关闭或等待模型对话框。我点击等待按钮10次,但没有任何变化。我如何防止这种异常并关闭应用程序?当setDefaultUncaughtExceptionHandler捕获未处理的异常时,线程冻结(reportDropResult)
看看https://stackoverflow.com/questions/46070393/replacing-default-uncaught-exception-handler-to-avoid-crash-dialog这可能会帮助你 – 2017-09-06 08:46:59