I tried to create a simple JobScheduler
job just to see how it works.
but I keep getting this exception on runtime, I can\'t figure it out as I followed the gui
You need to add the permission android.permission.BIND_JOB_SERVICE
into your AndroidManifest.xml
...
<service android:name=".TestService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="true"/>
...
</application>
Try clean project. It was my case.
My issue was that my Service was defined as an static inner class. The issue resolved itself once I moved the service class into it's own Java file