在移动设备上打开/关闭飞行模式时,应用程序开始抛出以下异常,并在“等待”或“关闭”对话框中显示IMS Service Stopped
。
日志:
06-29 06:25:08.876 1675-1688/? E/ActivityManager: ANR in com.abc.def (com.abc.abc/.featuerabc.views.MainActivity)
PID: 18795
Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 2. Wait queue head age: 37635.2ms.)
Load: 0.95 / 1.73 / 1.13
CPU usage from 30512ms to 0ms ago (2018-06-29 06:24:37.658 to 2018-06-29 06:25:08.170):
118% 18795/com.abc.abc: 107% user + 11% kernel / faults: 89616 minor 85 major
2.6% 1675/system_server: 1.5% user + 1% kernel / faults: 8859 minor 50 major
0.5% 2135/adbd: 0.1% user + 0.4% kernel / faults: 2185 minor
0.2% 1312/surfaceflinger: 0% user + 0.2% kernel / faults: 25 minor 1 major
0.1% 1374/audioserver: 0% user + 0.1% kernel / faults: 24 minor
0.1% 1925/com.android.phone: 0% user + 0% kernel / faults: 615 minor 10 major
0.1% 17514/com.google.android.gms.persistent: 0% user + 0% kernel / faults: 69 minor
0.1% 17597/com.google.android.gms: 0.1% user + 0% kernel / faults: 216 minor
0% 8/rcu_preempt: 0% user + 0% kernel
0% 9094/kworker/u4:3: 0% user + 0% kernel
0% 16841/kworker/u4:0: 0% user + 0% kernel
0% 17529/com.android.vending: 0% user + 0% kernel / faults: 826 minor 2 major
0% 1794/com.android.systemui: 0% user + 0% kernel / faults: 617 minor 6 major
0% 12/ksoftirqd/1: 0% user + 0% kernel
0% 1247/kworker/0:1H: 0% user + 0% kernel
0% 1259/logd: 0% user + 0% kernel / faults: 1 minor
0% 1311/servicemanager: 0% user + 0% kernel
0% 1357/dmcrypt_write: 0% user + 0% kernel
0% 16233/kworker/0:0: 0% user + 0% kernel
0% 16446/kworker/u5:2: 0% user + 0% kernel
0% 16701/kworker/u5:1: 0% user + 0% kernel
0% 18547/android.process.acore: 0% user + 0% kernel / faults: 214 minor
59% TOTAL: 52% user + 6.5% kernel + 0.2% iowait + 0.1% softirq
CPU usage from 198ms to 703ms later (2018-06-29 06:25:08.369 to 2018-06-29 06:25:08.873):
117% 18795/com.abc.abc: 113% user + 3.9% kernel / faults: 1590 minor
97% 18795/ram.abc: 97% user + 0% kernel
19% 18806/HeapTaskDaemon: 13% user + 5.9% kernel
55% TOTAL: 53% user + 2.1% kernel
06-29 06:25:08.935 1675-9821/? E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
06-29 06:25:08.935 1675-9821/? E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
06-29 06:25:37.552 1675-1708/? E/InputDispatcher: channel '52bb317 com.abc.abc/com.abc.abc.featuerabc.views.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-29 06:25:37.647 17682-17827/? E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
06-29 06:25:37.647 17682-17827/? E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
设备:三星S8 / S9。操作系统Android 8.0。
尝试以下选项:
https://us.community.samsung.com/t5/Galaxy-S-Phones/unfortunately-ims-service-has-stopped/td-p/30801
https://www.ifixit.com/Answers/View/271337/IMS+Service+has+stopped
但是没有任何效果。任何有关可能导致崩溃的原因的指示都会有所帮助。