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

测试程序异常退出 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) #303

Open
eternity-wws opened this issue Oct 22, 2024 · 5 comments

Comments

@eternity-wws
Copy link

[Fastbot][2024-10-22 19:40:27.383] fastbot native : library load!
[Fastbot][2024-10-22 19:40:27.384] fastbot native path is : /data/local/tmp/arm64-v8a/libfastbot_native.so
[Fastbot][2024-10-22 19:40:27.390]

[Fastbot]*** ERROR *** findMethod() error, NoSuchMethodException happened, there is no such method: getTasks
[Fastbot][2024-10-22 19:40:27.395] // current activity is com.android.camera.Camera
[Fastbot][2024-10-22 19:40:27.413] // Event id: 1
[Fastbot][2024-10-22 19:40:27.439] action type: SCROLL_LEFT_RIGHT
[Fastbot][2024-10-22 19:40:27.439] rpc cost time: 11
[Fastbot][2024-10-22 19:40:27.444] event time:48
[Fastbot][2024-10-22 19:40:27.444] :Sending rotation degree=0, persist=false
[Fastbot][2024-10-22 19:40:27.445] // Monkey is over!
[Fastbot][2024-10-22 19:40:27.445] :Sending rotation degree=0, persist=false
[Fastbot][2024-10-22 19:40:27.445] 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:834)
at com.android.commands.monkey.Monkey.main(Monkey.java:458)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:382)
[Fastbot][2024-10-22 19:40:27.446] Please report this bug issue to github

@sinianGitHub
Copy link

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)
我也出现这个问题。

@yang1101122
Copy link

我也出现该问题,是系统兼容原因吗?

@eternity-wws
Copy link
Author

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) 我也出现这个问题。
--------------------------》
咨询下,还有类似的遍历APP功能的开源软件推荐吗?

@liebeschnee
Copy link

我也出现了这个问题

@caiye1985
Copy link

在GooglePixel 6,Android 14、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

5 participants