How to fix “process is bad” error for an Android Widget?

Happened to me when my BroadcastReceiver was repeatedly leaking an exception causing the system to kill my app.
The next calls to the receiver would result in the “process is bad” logs.

The solution in my case was making sure no exceptions leak from the BroadcastReceiver.

Those are the logs when the app is killed (try looking for them and finding the cause):

W/ActivityManager﹕ Process com.company.app has crashed too many times: killing!
I/ActivityManager﹕ Killing proc 9344:com.company.app/u0a10239: crash

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)