Questions tagged [remoteserviceexception]
11 questions
95
votes
2 answers
How to fix: android.app.RemoteServiceException without any message (not related to Bad Notification or Broadcast)
I have an android.app.RemoteServiceException (RSE) but without any message.
I get the following crash report on Google Play Console. When I get a RSE due to a bad Notification or Broadcast I get the related message but in this case it is a black…

Nikhil Joshi
- 1,053
- 7
- 8
12
votes
2 answers
startForeground() in onCreate() vs onStartCommand()
I have encountered huge amount of exceptions reported from Playstore.
RemoteServiceException from Android P.
I am creating android foreground service and then calling startForegound(with channel).
But 99.9% only 9.0(android P) users report…

Knowledge Drilling
- 986
- 1
- 8
- 22
12
votes
2 answers
Why do I get RemoteServiceException for creating/updating a notification?
Background
I have a spare time app that I've been working on for some years (here), and I try to handle as many crashes as I can (I hate seeing crash reports!).
The problem
One recent crash that seem quite new, is this…

android developer
- 114,585
- 152
- 739
- 1,270
11
votes
3 answers
startForegroundService() did not call startForeground(), but it did
I'm having the Context.startForegroundService() did not then call Service.startForeground() in my Android service, but I cannot figure out why it is happening.
My application is for media streaming, and this error only occurs when you pause from the…

transiti0nary
- 493
- 6
- 25
9
votes
0 answers
Context.startForegroundService() did not then call Service.startForeground()?
I have hundred of crashes reported by my users and I still can't find a fix for it. These crashes are coming from Android 8 (Samsung, Huawei, Google).
I am getting these two crashes:
Fatal Exception: android.app.RemoteServiceException:…

Zbarcea Christian
- 9,367
- 22
- 84
- 137
8
votes
0 answers
RemoteServiceException: can't deliver broadcast on All OnePlus devices having oreo and pie
I have been seeing this crash in Crashlytics only for OnePlus manufactured devices(one, 3, 5,5T, 6, 6T) having oreo and pie from past 3-4 months. It didn't occur for previous android versions.
Fatal Exception: android.app.RemoteServiceException:…

shivam gupta
- 141
- 1
- 6
6
votes
1 answer
How to fix "android.app.RemoteServiceException in android?"
My app got "android.app.RemoteServiceException" exception. I've use the "JobScheduler" to instead of "Service". It worked, besides OPPO 8.1.
That's all message i…

lwtor lu
- 61
- 2
3
votes
0 answers
Context.startForegroundService() did not then call Service.startForeground() on Vivo All Models having Os version 8.0
getting below crash on All Vivo Models only after making all necessary suggested changes with notification channel in onCreate/OnStartCommand
Fatal Exception: android.app.RemoteServiceException: Context.startForegroundService() did not then call…

Sachin Gawai
- 351
- 1
- 4
- 15
1
vote
1 answer
How to Fix "android.app.RemoteServiceException" in android
I got crash on the play console on android 8.1 or the upper version devices.
Here is my crash log.
android.app.RemoteServiceException:
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1970)
at…

Shakeel Anjum
- 11
- 2
1
vote
1 answer
RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException:
I am using more than 2 services in my application , i applied different solutions but they didn't work,
app is kill on version after creating a case.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.abca, PID: 7454
…

Kanwal Khan
- 21
- 2
0
votes
0 answers
crash while building notification : RemoteServiceException
In my app, we are showing one notification which do have 2 or 3 action button.
I'm getting crashes on crashlytics for some devices which incldes Blackberry, Asus, HTC< HUAWEI, Quanta, Oppo, Vivo, Samsung, Yu, MicroMaxx, OnePlus, Lenovo, iTel, Royal,…

Jay Patel
- 486
- 1
- 4
- 14