hyb1996-guest / auto.js3-issues

0 stars 0 forks source link

[263]org.mozilla.javascript.WrappedException: Wrapped com.stardust.autojs.runtime.exception.ScriptException: 使用Root权限启动无障碍服务超时 (file:/storage/emulated/0/脚本/test.js#1) #26554

Open hyb1996-guest opened 6 years ago

hyb1996-guest commented 6 years ago

Description:

org.mozilla.javascript.WrappedException: Wrapped com.stardust.autojs.runtime.exception.ScriptException: 使用Root权限启动无障碍服务超时 (file:/storage/emulated/0/脚本/test.js#1) 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.BoundFunction.call(BoundFunction.java:53) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1479) at script(file:/storage/emulated/0/脚本/test.js:1) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:123) at org.mozilla.javascript.commonjs.module.Require.executeModuleScript(Require.java:342) at org.mozilla.javascript.commonjs.module.Require.getExportedModuleInterface(Require.java:290) at org.mozilla.javascript.commonjs.module.Require.call(Require.java:219) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1479) at script(:87) at script(<[remote]UI>:50) at script(<[remote]UI>:48) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1479) at script(ui.js:349) 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 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 $Proxy12.onClick(Unknown Source) at android.view.View.performClick(View.java:6303) at android.view.View$PerformClick.run(View.java:24828) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6809) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108) Caused by: com.stardust.autojs.runtime.exception.ScriptException: 使用Root权限启动无障碍服务超时 at com.stardust.scriptdroid.autojs.AutoJs.ensureAccessibilityServiceEnabled(AutoJs.java:77) at com.stardust.autojs.AutoJs$AccessibilityBridgeImpl.ensureServiceEnabled(AutoJs.java:199) at com.stardust.autojs.core.accessibility.SimpleActionAutomator.ensureAccessibilityServiceEnabled(SimpleActionAutomator.java:245) at com.stardust.autojs.core.accessibility.SimpleActionAutomator.performGlobalAction(SimpleActionAutomator.java:230) at com.stardust.autojs.core.accessibility.SimpleActionAutomator.home(SimpleActionAutomator.java:134) at java.lang.reflect.Method.invoke(Native Method) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 36 more

Device info:

App version3.1.1 Alpha7
App version code263
Android build version5
Android release version8.0.0
Android SDK version26
Android build IDONEPLUS A5000_24_180315
Device brandOnePlus
Device manufacturerOnePlus
Device nameOnePlus5
Device modelONEPLUS A5000
Device product nameOnePlus5
Device hardware nameqcom
ABIs[arm64-v8a, armeabi-v7a, armeabi]
ABIs (32bit)[armeabi-v7a, armeabi]
ABIs (64bit)[arm64-v8a]