Bad notification for start Foreground, Invalid channel for service notification:

前端 未结 5 878
忘了有多久
忘了有多久 2021-02-15 14:20

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

5条回答
  •  广开言路
    2021-02-15 14:25

    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).

提交回复
热议问题