ucmateofficial / ucmate_bugs

Report Ucmate Bugs
1 stars 0 forks source link

Error in mobile android samsung #5

Open Eslam7676 opened 1 year ago

Eslam7676 commented 1 year ago

Exception

android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{4436f15 u0 com.ucmate.app/org.schabi.newpipe.player.PlayerService}
    at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2245)
    at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2216)
    at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2508)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8757)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here
    at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1988)
    at android.app.ContextImpl.startForegroundService(ContextImpl.java:1933)
    at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:839)
    at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:839)
    at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(Unknown Source:0)
    at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:2)
    at androidx.media.session.MediaButtonReceiver.onReceive(MediaButtonReceiver.java:5)
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:4894)
    at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2420)
    ... 7 more


ZZMM1409 commented 7 months ago

ت