No empty constructor when create a service

You need to add an empty constructor to your class i.e. one that takes no arguments:

public ReminderService() {
    super("ReminderService");
}

Explanation from the documentation:

The name is used to name the worker thread.

NOTE: this is only applicable to intent service.

Leave a Comment