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