Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/222.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 几天后,NotificationListenerService不工作,但更改类名将再次工作_Android - Fatal编程技术网

Android 几天后,NotificationListenerService不工作,但更改类名将再次工作

Android 几天后,NotificationListenerService不工作,但更改类名将再次工作,android,Android,我有一个NotificationListenerService服务来管理通知。几天后,它将在一些定制的romsOnePlus彩色操作系统和华为荣誉6停止工作。更改NotificationListenerService类名将再次起作用。但几天后,它将再次停止工作。我不知道如何解决这个问题。有人提出建议吗?你解释的行为似乎不合逻辑。你能在几天内扩展解决问题的方法吗?你关闭了你的服务或它正在继续运行?ABC扩展NotificationListenerService{},只需将类名ABC更改为其他名称,

我有一个NotificationListenerService服务来管理通知。几天后,它将在一些定制的romsOnePlus彩色操作系统和华为荣誉6停止工作。更改NotificationListenerService类名将再次起作用。但几天后,它将再次停止工作。我不知道如何解决这个问题。有人提出建议吗?

你解释的行为似乎不合逻辑。你能在几天内扩展解决问题的方法吗?你关闭了你的服务或它正在继续运行?ABC扩展NotificationListenerService{},只需将类名ABC更改为其他名称,如Aba。如果你不发布代码并展开解释,很抱歉,我们无法知道你的应用程序中发生了什么。我也有此报告,它会工作几秒钟,然后停止工作!你知道你是怎么解决的吗?@穆罕默德仍然有这个问题,不知道怎么解决。