tianxiaogu/ape

run exception MEIZU M1852 8.1.0

Opened this issue · 0 comments

[APE] rInternal erro
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
at android.os.Handler.(Handler.java:204)
at android.os.Handler.(Handler.java:118)
at com.meizu.nightmode.MzNightModeManager.(MzNightModeManager.java:156)
at com.meizu.nightmode.MzNightModeManager.getDefault(MzNightModeManager.java:318)
at android.graphics.BaseCanvas.(BaseCanvas.java:1072)
at android.graphics.Canvas.(Canvas.java:114)
at android.app.UiAutomation.takeScreenshot(UiAutomation.java:741)
at com.android.commands.monkey.MonkeySourceApe.captureBitmap(MonkeySourceApe.java:1315)
at com.android.commands.monkey.ape.agent.StatefulAgent.captureBitmap(StatefulAgent.java:452)
at com.android.commands.monkey.ape.agent.StatefulAgent.buildAndValidateNewState(StatefulAgent.java:573)
at com.android.commands.monkey.ape.agent.StatefulAgent.updateStateInternal(StatefulAgent.java:586)
at com.android.commands.monkey.ape.agent.ApeAgent.updateStateWrapper(ApeAgent.java:265)
at com.android.commands.monkey.ape.agent.ApeAgent.updateState(ApeAgent.java:252)
at com.android.commands.monkey.MonkeySourceApe.generateEvents(MonkeySourceApe.java:782)
at com.android.commands.monkey.MonkeySourceApe.getNextEvent(MonkeySourceApe.java:1278)
at com.android.commands.monkey.Monkey.runMonkeyCycles(Monkey.java:1395)
at com.android.commands.monkey.Monkey.run(Monkey.java:771)
at com.android.commands.monkey.Monkey.main(Monkey.java:613)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:285)
[APE] Please report this bug to developers.