org.mozilla.javascript.WrappedException: Wrapped com.stardust.autojs.runtime.exception.ScriptException: 无障碍服务未启动,脚本已停止运行 (<ts跳一跳全机型通用版>#71)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1914)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1479)
at script(<ts跳一跳全机型通用版>:71)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399)
at com.stardust.autojs.engine.RhinoJavaScriptEngine$InterruptibleAndroidContextFactory.doTopCall(RhinoJavaScriptEngine.java:219)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3452)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:137)
at org.mozilla.javascript.InterfaceAdapter$1.run(InterfaceAdapter.java:83)
at org.mozilla.javascript.Context.call(Context.java:526)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:509)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:86)
at org.mozilla.javascript.jdk13.VMBridge_jdk13$1.invoke(VMBridge_jdk13.java:132)
at java.lang.reflect.Proxy.invoke(Proxy.java:913)
at $Proxy11.run(Unknown Source)
at java.lang.Thread.run(Thread.java:784)
Caused by: com.stardust.autojs.runtime.exception.ScriptException: 无障碍服务未启动,脚本已停止运行
at com.stardust.scriptdroid.autojs.AutoJs.ensureAccessibilityServiceEnabled(AutoJs.java:69)
at com.stardust.autojs.AutoJs$AccessibilityBridgeImpl.ensureServiceEnabled(AutoJs.java:181)
at com.stardust.autojs.core.accessibility.UiSelector.ensureAccessibilityServiceEnabled(UiSelector.java:89)
at com.stardust.autojs.core.accessibility.UiSelector.find(UiSelector.java:75)
at com.stardust.autojs.core.accessibility.UiSelector.untilFind(UiSelector.java:100)
at com.stardust.autojs.core.accessibility.UiSelector.performAction(UiSelector.java:199)
at com.stardust.autojs.core.accessibility.UiSelector.setText(UiSelector.java:317)
at java.lang.reflect.Method.invoke(Native Method)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
... 17 more
Description:
org.mozilla.javascript.WrappedException: Wrapped com.stardust.autojs.runtime.exception.ScriptException: 无障碍服务未启动,脚本已停止运行 (<ts跳一跳全机型通用版>#71) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1914) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1479) at script(<ts跳一跳全机型通用版>:71) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399) at com.stardust.autojs.engine.RhinoJavaScriptEngine$InterruptibleAndroidContextFactory.doTopCall(RhinoJavaScriptEngine.java:219) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3452) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:137) at org.mozilla.javascript.InterfaceAdapter$1.run(InterfaceAdapter.java:83) at org.mozilla.javascript.Context.call(Context.java:526) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:509) at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:86) at org.mozilla.javascript.jdk13.VMBridge_jdk13$1.invoke(VMBridge_jdk13.java:132) at java.lang.reflect.Proxy.invoke(Proxy.java:913) at $Proxy11.run(Unknown Source) at java.lang.Thread.run(Thread.java:784) Caused by: com.stardust.autojs.runtime.exception.ScriptException: 无障碍服务未启动,脚本已停止运行 at com.stardust.scriptdroid.autojs.AutoJs.ensureAccessibilityServiceEnabled(AutoJs.java:69) at com.stardust.autojs.AutoJs$AccessibilityBridgeImpl.ensureServiceEnabled(AutoJs.java:181) at com.stardust.autojs.core.accessibility.UiSelector.ensureAccessibilityServiceEnabled(UiSelector.java:89) at com.stardust.autojs.core.accessibility.UiSelector.find(UiSelector.java:75) at com.stardust.autojs.core.accessibility.UiSelector.untilFind(UiSelector.java:100) at com.stardust.autojs.core.accessibility.UiSelector.performAction(UiSelector.java:199) at com.stardust.autojs.core.accessibility.UiSelector.setText(UiSelector.java:317) at java.lang.reflect.Method.invoke(Native Method) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 17 more
Device info: