UiAutomator [求解] W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:38

EmptyWalker · 2019年08月06日 · 2246 次阅读

请教一个未知 Log

描述

记录在使用 UIAutomator2 的过程中遇到的一个问题,在 UiAutomation 使用 Accessibility 的时候,会一直打印一下 log

2019-08-06 16:48:26.187 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:0
2019-08-06 16:48:26.192 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:0
2019-08-06 16:48:26.265 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:1
2019-08-06 16:48:26.283 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:2
2019-08-06 16:48:26.287 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:1
2019-08-06 16:48:26.303 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:3
2019-08-06 16:48:26.307 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:4
2019-08-06 16:48:26.313 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:5
2019-08-06 16:48:26.322 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:2
2019-08-06 16:48:26.336 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:3
2019-08-06 16:48:26.350 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:6
2019-08-06 16:48:26.386 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:4
2019-08-06 16:48:26.387 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:7
2019-08-06 16:48:26.394 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:8
2019-08-06 16:48:26.396 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:5
2019-08-06 16:48:26.397 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:9
2019-08-06 16:48:26.400 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:10
2019-08-06 16:48:26.400 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:6
2019-08-06 16:48:26.403 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:7
2019-08-06 16:48:26.403 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:11
2019-08-06 16:48:26.406 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:8
2019-08-06 16:48:26.408 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:12
2019-08-06 16:48:26.408 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:9
2019-08-06 16:48:26.410 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:13
2019-08-06 16:48:26.412 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:14
2019-08-06 16:48:26.412 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:10
2019-08-06 16:48:26.414 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:15
2019-08-06 16:48:26.415 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:11
2019-08-06 16:48:26.417 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:12
2019-08-06 16:48:26.417 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:16
2019-08-06 16:48:26.419 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:17
2019-08-06 16:48:26.419 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:13
2019-08-06 16:48:26.424 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:18
2019-08-06 16:48:26.424 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:14
2019-08-06 16:48:26.427 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:15
2019-08-06 16:48:26.427 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:19
2019-08-06 16:48:26.428 12657-17449/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:16
2019-08-06 16:48:26.428 12657-17445/com.package.app W/AccessibilityInteractionClient: old interaction Id is: -1,current interaction Id is:20

这些日志会在所有的 AccessibilityEvent 触发时打印,并且在多条线程中。我查看了 AccessibilityInteractionClient 却没有发现这条 log。

请教有没有遇到的同学,该如何解决这个日志,因为打印量太大了,偶尔会出现一直调用,导致应用卡死。
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册