Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/187.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:honor 7手机未接收到启动完成或唤醒接收器_Android - Fatal编程技术网

android:honor 7手机未接收到启动完成或唤醒接收器

android:honor 7手机未接收到启动完成或唤醒接收器,android,Android,我已经编写了一个android应用程序,它必须在启动时开始工作,或者在关闭应用程序后继续工作(将其刷走)。这在模拟器或我的p8手机上运行良好,但我不知道为什么荣誉7不能这样做。我的意思是,在开发的早期阶段,它是有效的,但现在它没有。滑开后,我将看到以下日志: 05-08 21:45:55.260 3608-3608/? I/HwSystemManager﹕ ProcessTrimService:huawei.intent.action.hsm_remove_pkg received, pk

我已经编写了一个android应用程序,它必须在启动时开始工作,或者在关闭应用程序后继续工作(将其刷走)。这在模拟器或我的p8手机上运行良好,但我不知道为什么荣誉7不能这样做。我的意思是,在开发的早期阶段,它是有效的,但现在它没有。滑开后,我将看到以下日志:

05-08 21:45:55.260    3608-3608/? I/HwSystemManager﹕ ProcessTrimService:huawei.intent.action.hsm_remove_pkg received, pkg name is com.example.happyuser.newmap
05-08 21:45:55.260   3608-10168/? I/HwSystemManager﹕ ProcessManager:trimApps, before filter pkgList:[com.example.happyuser.newmap]
05-08 21:45:55.270   3608-10168/? I/HwSystemManager﹕ SmcsDbHelper:getAppProtectStateFromDb called, pkg is:com.example.happyuser.newmap
05-08 21:45:55.280   3608-10168/? I/HwSystemManager﹕ ProcessManager:trimApps, after filter pkgList:[com.example.happyuser.newmap]
05-08 21:45:55.280   3608-10168/? I/HwSystemManager﹕ ProcessManager:forcestopApp begin!! pkgs = [com.example.happyuser.newmap]
05-08 21:45:55.280   3608-10168/? I/HwSystemManager﹕ ProcessManager:forcestopApp : com.example.happyuser.newmap
05-08 21:45:55.520    3384-3518/? W/InputDispatcher﹕ channel '35c63073 com.example.happyuser.newmap/com.example.happyuser.newmap.MapsActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
05-08 21:45:55.520    3384-3518/? E/InputDispatcher﹕ channel '35c63073 com.example.happyuser.newmap/com.example.happyuser.newmap.MapsActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
05-08 21:45:55.520    3384-3404/? W/InputDispatcher﹕ Attempted to unregister already unregistered input channel '35c63073 com.example.happyuser.newmap/com.example.happyuser.newmap.MapsActivity (server)'
05-08 21:45:58.280    3384-3411/? I/PG Utils﹕ startservice pkg:[com.example.happyuser.newmap] pid:[26989] send to pg
在我的另一部huawi手机(第8页)中,我再次运行我的应用程序并将其刷走,然后出现下面的日志,过了一会儿,我的应用程序开始工作

05-08 21:53:19.390    3758-3758/? I/HwSystemManager﹕ ProcessTrimService:huawei.intent.action.hsm_remove_pkg received, pkg name is com.example.happyuser.newmap
05-08 21:53:19.390    3758-7856/? I/HwSystemManager﹕ ProcessManager:trimApps, before filter pkgList:[com.example.happyuser.newmap]
05-08 21:53:19.400    3758-7856/? E/HwSystemManager﹕ CheckProtectedAppPredicate:input.getPackageName() = com.example.happyuser.newmap; should not be killed; protect
你能给我一些解决问题的办法吗