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

编译monkeyq.jar时报错UNEXPECTED TOP-LEVEL ERROR: java.lang.OutOfMemoryError: Java heap space #292

Open
zhangaguan opened this issue Jul 22, 2024 · 1 comment

Comments

@zhangaguan
Copy link

没找到monkey/build/libs/monkey.jar文件, 使用/home/android-sdk/build-tools/28.0.3/dx --dex --output=monkeyq.jar monkey/libs/framework.jar 命令编译时, 报错如下:

WARNING in android.view.WindowManager.isKeyguardSmartisan:(Landroid/view/WindowManager$LayoutParams;)Z: defining a static interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManager.isKeyguardSmartisan:(Landroid/view/WindowManager$LayoutParams;)Z
WARNING in android.view.WindowManagerPolicy.getWindowLayerLw:(Landroid/view/WindowManagerPolicy$WindowState;)I: defining a default interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManagerPolicy.getWindowLayerLw:(Landroid/view/WindowManagerPolicy$WindowState;)I
WARNING in android.view.WindowManagerPolicy.getWindowLayerFromTypeLw:(I)I: defining a default interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManagerPolicy.getWindowLayerFromTypeLw:(I)I
WARNING in android.view.WindowManagerPolicy.getWindowLayerFromTypeLw:(IZ)I: defining a default interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManagerPolicy.getWindowLayerFromTypeLw:(IZ)I
WARNING in android.view.WindowManagerPolicy.getSubWindowLayerFromTypeLw:(I)I: defining a default interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManagerPolicy.getSubWindowLayerFromTypeLw:(I)I
WARNING in android.view.WindowManagerPolicy.setDismissImeOnBackKeyPressed:(Z)V: defining a default interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManagerPolicy.setDismissImeOnBackKeyPressed:(Z)V
WARNING in android.view.WindowManagerPolicy$PointerEventListener.onPointerEvent:(Landroid/view/MotionEvent;I)V: defining a default interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManagerPolicy$PointerEventListener.onPointerEvent:(Landroid/view/MotionEvent;I)V
WARNING in android.view.WindowManagerPolicy$WindowState.canAddInternalSystemWindow:()Z: defining a default interface method requires --min-sdk-version >= 24 (currently 13) for interface methods: android.view.WindowManagerPolicy$WindowState.canAddInternalSystemWindow:()Z

UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: Java heap space

@weibinfang
Copy link

没找到monkey/build/libs/monkey.jar是因为你前置的编译就没成功,你需要看下前面的编译的失败原因

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

2 participants