Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Android V(Android 15)的手机上运行airtest进行UI测试,log中有yosemite 报错 #1213

Open
amylei88 opened this issue May 6, 2024 · 0 comments

Comments

@amylei88
Copy link

amylei88 commented May 6, 2024

描述问题bug
在Android V(Android 15)的手机上运行airtest进行UI测试,从logcat 中发现非常频繁的报如下的错误

backtrace 如下:

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]

复现步骤
只要开始用airtest 跑测试,大概一分钟就会出现这样的错误打印

预期效果
预期是不会有相关的报错

python 版本: python3.8

airtest 版本: airtest-1.3.4

设备:

  • 系统: [Android 15]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant