这是显示的报错日志
14:40:10.172/E: java.time.Duration
java.lang.NoClassDefFoundError: java.time.Duration
at libcore.reflect.InternalNames.getClass(InternalNames.java:55)
at java.lang.Class.getDexCacheType(Class.java:2551)
at java.lang.reflect.AbstractMethod.compareParameters(AbstractMethod.java:313)
at java.lang.reflect.Method$1.compare(Method.java:72)
at java.lang.reflect.Method$1.compare(Method.java:66)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:356)
at java.util.TimSort.sort(TimSort.java:230)
at java.util.Arrays.sort(Arrays.java:1523)
at java.util.Collections.sort(Collections.java:238)
at libcore.util.CollectionUtils.removeDuplicates(CollectionUtils.java:86)
at java.lang.Class.getMethods(Class.java:1423)
at org.mozilla.javascript.JavaMembers.discoverPublicMethods(JavaMembers.java:371)
at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:346)
at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:299)
at org.mozilla.javascript.JavaMembers.reflect(JavaMembers.java:419)
at org.mozilla.javascript.JavaMembers.<init>(JavaMembers.java:54)
at org.mozilla.javascript.JavaMembers.createJavaMembers(JavaMembers.java:827)
at org.mozilla.javascript.JavaMembers.lookupClass(JavaMembers.java:786)
at org.mozilla.javascript.NativeJavaClass.initMembers(NativeJavaClass.java:50)
at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:53)
at org.mozilla.javascript.NativeJavaClass.<init>(NativeJavaClass.java:44)
at org.mozilla.javascript.NativeJavaClass.<init>(NativeJavaClass.java:40)
at org.mozilla.javascript.WrapFactory.wrapJavaClass(WrapFactory.java:136)
at org.mozilla.javascript.NativeJavaClass.get(NativeJavaClass.java:96)
at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2023)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1672)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1667)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1559)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1061)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:90)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:380)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3869)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:103)
at com.stardust.autojs.engine.RhinoJavaScriptEngine.doExecution(RhinoJavaScriptEngine.kt:72)
at com.stardust.autojs.engine.JavaScriptEngine.execute(JavaScriptEngine.java:20)
at com.stardust.autojs.engine.LoopBasedJavaScriptEngine.access$001(LoopBasedJavaScriptEngine.java:17)
at com.stardust.autojs.engine.LoopBasedJavaScriptEngine.lambda$execute$0$com-stardust-autojs-engine-LoopBasedJavaScriptEngine(LoopBasedJavaScriptEngine.java:42)
at com.stardust.autojs.engine.LoopBasedJavaScriptEngine$$ExternalSyntheticLambda0.run(D8$$SyntheticClass)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at com.stardust.autojs.engine.LoopBasedJavaScriptEngine.execute(LoopBasedJavaScriptEngine.java:61)
at com.stardust.autojs.engine.LoopBasedJavaScriptEngine.execute(LoopBasedJavaScriptEngine.java:34)
at com.stardust.autojs.execution.LoopedBasedJavaScriptExecution.doExecution(LoopedBasedJavaScriptExecution.java:42)
at com.stardust.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:43)
at com.stardust.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:37)
at com.stardust.autojs.execution.RunnableScriptExecution.run(RunnableScriptExecution.java:31)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.ClassNotFoundException: Didn't find class "java.time.Duration" on path: DexPathList[[zip file "/data/app/org.autojs.autoxjs.v6-1/base.apk"],nativeLibraryDirectories=[/data/app/org.autojs.autoxjs.v6-1/lib/arm64, /data/app/org.autojs.autoxjs.v6-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at libcore.reflect.InternalNames.getClass(InternalNames.java:53)
... 47 more