bytedance / bytedance/Fastbot_Android

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

Open
#292 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.2k
Forks
264
PR merge metrics
No merged PRs in 30d

Description

没找到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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.