I\'m trying to restart service from itself in a few time. My code looks like this (inside the onStartCommand(...))
onStartCommand(...)
Looper.prepare(); Handler han
Replace
Handler handler = new Handler();
With
Handler handler = new Handler(Looper.getMainLooper());
Worked for me.