Android Question Context.startForegroundService() did not then call Service.startForeground

Croïd

Active Member
Licensed User
Longtime User
I've this error only with android 8 for notification ! What's wrong with this ?

Fatal Exception: android.app.RemoteServiceException

Context.startForegroundService() did not then call Service.startForeground()

android.app.ActivityThread$H.handleMessage (ActivityThread.java:1881)

android.os.Handler.dispatchMessage (Handler.java:105)

android.os.Looper.loop (Looper.java:164)
arrow_right
android.app.ActivityThread.main (ActivityThread.java:6940)

java.lang.reflect.Method.invoke (Method.java)

com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)

com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top