I'm not trying to fix this error for any particular app. I'm just trying to fully suppress it globally because it's completely useless and very distracting to me whenever it occurs.

How can I make my phone stop popping up "unfortunately [blah] has stopped" error messages whenever something crashes? (I have root permissions so I can edit anything necessary.)

  • 1
    Mehrdad, goto your all apps tab in settings->applications [or the like] and first goto the app in question settings and disable notifications. Reboot, i am guessing this is occurring at bootup? See if that remedies the the issue. Else, you need an app if there isn't an in-house function to micro-manage notifications. @Lucky is spot-on, check your logcat, it may show you a path to resolving the issue.
    – moonbutt74
    Commented Aug 12, 2015 at 17:06
  • 3
    I've cleaned up the comments a bit, we'll accept it as a given that you don't want to uninstall the app and such. Commented Aug 12, 2015 at 17:58

2 Answers 2


You can't (without customizing the code). The relevant code is in the Activity Manager (see crashApplication() and handleAppCrashLocked()) and it only suppresses these crash messages in 2 cases:

  1. The app crashed too soon since the last crash
  2. The app has crashed too many times total

As stated by Matthew, you cannot change this behavior without rebuild the AOSP.

Apart from customizing ActivityManagerService.java, you can also change AppErrorDialog.java: this class implements the dialog and it's already designed to dismiss itself after a timeout, which is quite longer (5 min in Marshmallow). You can make it shorter by lowering DISMISS_TIMEOUT, e.g. to a few seconds, and have a less intrusive popup

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .