Based on the comments, this is a new (edited) answer...
Your manifest declaration for the Service
is...
<service
android:name=".services.NotificationService"
android:enabled="true">
</service>
...which is declaring NotificationService
as being contained in a package called services
. Example...
Main package is com.example.MyApp
and the service is in com.example.MyApp.services
.
Placing the code file for the service in /src/services
doesn't change the package name / path used by the android:name
attribute.
To resolve the issue either change the declaration to use android:name=".NotificationService
or create a separate com.example.MyApp.services
package and place the service code file in there.