I have a android application that is trying to use the new NotificationListenerService class from api 18. I have created my own service class that inherits from this class a
Sometimes deleting build and rebuilding source might be the issue.
I Struggled with it for 3 days, and here is what I have done:
AndroidManifest.xml
Changes service name from just class example:
to
Navigate to your root directory > android , then delete build folder, allow your project to rebuild.