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

A15报错 #281

Open
Wind-Yi opened this issue May 14, 2024 · 4 comments
Open

A15报错 #281

Wind-Yi opened this issue May 14, 2024 · 4 comments

Comments

@Wind-Yi
Copy link

Wind-Yi commented May 14, 2024

[Fastbot][2024-05-13 18:35:13.497] Internal error
java.lang.NoSuchMethodError: No interface method freezeRotation(I)V in class Landroid/view/IWindowManager; or its super classes (declaration of 'android.view.IWindowManager' appears in /system/framework/framework.jar!classes4.dex)
at com.android.commands.monkey.events.base.MonkeyRotationEvent.injectEvent(MonkeyRotationEvent.java:55)
at com.android.commands.monkey.Monkey.run(Monkey.java:836)
at com.android.commands.monkey.Monkey.main(Monkey.java:460)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:470)
[Fastbot][2024-05-13 18:35:13.498] Please report this bug issue to github

@ShawnPanxiaoming
Copy link

目前来看,Android 15 开发者预览版会报这个错,不确定后续正式版会不会好
我这边的临时方案是把MonkeyRotationEvent.java 里的injectEvent 方法内容给注释掉,先屏蔽转屏事件,直接返回MonkeyEvent.INJECT_SUCCESS,重新打包monkeyq.jar推送至Android 15设备,目前来看可以跑

@yinkh
Copy link

yinkh commented Jul 11, 2024

目前来看,Android 15 开发者预览版会报这个错,不确定后续正式版会不会好 我这边的临时方案是把MonkeyRotationEvent.java 里的injectEvent 方法内容给注释掉,先屏蔽转屏事件,直接返回MonkeyEvent.INJECT_SUCCESS,重新打包monkeyq.jar推送至Android 15设备,目前来看可以跑

试了下,打出来的包确实可以用了!

@yinkh
Copy link

yinkh commented Jul 11, 2024

通过百度网盘分享的文件:monkeyq.…
链接:https://pan.baidu.com/s/1px8tAHS8wAYjNx3QGkn9Aw 
提取码:k8uw
复制这段内容打开「百度网盘APP 即可获取」

@lilylei665
Copy link

通过百度网盘分享的文件:monkeyq.… 链接:https://pan.baidu.com/s/1px8tAHS8wAYjNx3QGkn9Aw  提取码:k8uw 复制这段内容打开「百度网盘APP 即可获取」
好人。运行起来了

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

4 participants