So, i have an app on store with 50000 users. Recently i updated my android studio and compiled SDK to 27. I made some changes to support android 8 changes including Notification
Yes, there is a way you can find out which class is throwing this error.
So, first of all, you need to find out which class is calling Service.startForeground
. That class could be throwing it.
Using Android Studio, go to the source code for Service
class and find the startForeground
method. Hold ctrl
(or Command
on Mac) and click on the method signature. It will list classes from all libs that are calling that method, including documentation references.
I'm still facing this same problem. I think RoboSpice (which is archived now) is throwing these errors. The only way to find out is to refactor all codebase to use something else (Rx+Retrofit maybe).