05-06 11:00:39.588 30851 30862 E AndroidRuntime: FATAL EXCEPTION: Thread-1
05-06 11:00:39.588 30851 30862 E AndroidRuntime: PID: 30851
05-06 11:00:39.588 30851 30862 E AndroidRuntime: java.lang.UnsupportedOperationException: InputManagerEventInjector is not supported
05-06 11:00:39.588 30851 30862 E AndroidRuntime: at com.netease.nie.yosemite.compat.WindowManagerWrapper$SetRotationRotationInjector.<init>(WindowManagerWrapper.java:179)
05-06 11:00:39.588 30851 30862 E AndroidRuntime: at com.netease.nie.yosemite.compat.WindowManagerWrapper.<init>(WindowManagerWrapper.java:30)
05-06 11:00:39.588 30851 30862 E AndroidRuntime: at com.netease.nie.yosemite.compat.ScreenshotManagerWrapper.<init>(ScreenshotManagerWrapper.java:29)
05-06 11:00:39.588 30851 30862 E AndroidRuntime: at com.netease.nie.yosemite.Capture$InputClient.run(Capture.java:162)
05-06 11:00:39.588 2597 2633 I am_crash: [30851,0,system_server,-1,java.lang.UnsupportedOperationException,InputManagerEventInjector is not supported,WindowManagerWrapper.java,179,0]
描述问题bug 在Android V(Android 15)的手机上运行airtest进行UI测试,从logcat 中发现非常频繁的报如下的错误
backtrace 如下:
05-06 11:00:39.588 2597 2633 I am_crash: [30851,0,system_server,-1,java.lang.UnsupportedOperationException,InputManagerEventInjector is not supported,WindowManagerWrapper.java,179,0]
复现步骤 只要开始用airtest 跑测试,大概一分钟就会出现这样的错误打印
预期效果 预期是不会有相关的报错
python 版本:
python3.8
airtest 版本:
airtest-1.3.4
设备: