hyb1996-guest / auto.js3-issues

0 stars 0 forks source link

[404]org.mozilla.javascript.WrappedException: Wrapped android.view.InflateException: android.view.InflateException: java.lang.ClassNotFoundException: android.widget.card (__ui__.js#22) #26694

Open liguangni opened 5 years ago

liguangni commented 5 years ago

Description:

org.mozilla.javascript.WrappedException: Wrapped android.view.InflateException: android.view.InflateException: java.lang.ClassNotFoundException: android.widget.card (ui.js#22) 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(ui.js:22) at script.UI(<淘宝猫币_3.3_20191107>:57) at script(<淘宝猫币_3.3_20191107>:211) 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.ScriptRuntime.applyOrCall(ScriptRuntime.java:2697) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:287) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:101) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1479) at script(bridges.js:10) 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:813) at $Proxy7.call(Unknown Source) at com.stardust.autojs.runtime.ScriptBridges.callFunction(ScriptBridges.java:36) at com.stardust.autojs.core.ui.dialog.BlockedMaterialDialog$Builder.setAndNotify(BlockedMaterialDialog.java:94) at com.stardust.autojs.core.ui.dialog.BlockedMaterialDialog$Builder.lambda$itemsCallbackSingleChoice$11$BlockedMaterialDialog$Builder(BlockedMaterialDialog.java:150) at com.stardust.autojs.core.ui.dialog.BlockedMaterialDialog$Builder$$Lambda$11.onSelection(Unknown Source) at com.afollestad.materialdialogs.MaterialDialog.sendSingleChoiceCallback(MaterialDialog.java:335) at com.afollestad.materialdialogs.MaterialDialog.onClick(MaterialDialog.java:363) at android.view.View.performClick(View.java:5647) at android.view.View$PerformClick.run(View.java:22465) at android.os.Handler.handleCallback(Handler.java:754) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:163) at android.app.ActivityThread.main(ActivityThread.java:6395) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823) Caused by: android.view.InflateException: android.view.InflateException: java.lang.ClassNotFoundException: android.widget.card at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.doInflation(DynamicLayoutInflater.java:163) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflate(DynamicLayoutInflater.java:152) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflate(DynamicLayoutInflater.java:144) at java.lang.reflect.Method.invoke(Native Method) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 37 more Caused by: android.view.InflateException: java.lang.ClassNotFoundException: android.widget.card at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.createViewForName(DynamicLayoutInflater.java:292) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.doCreateView(DynamicLayoutInflater.java:267) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.doInflation(DynamicLayoutInflater.java:192) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflate(DynamicLayoutInflater.java:180) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflateChildren(DynamicLayoutInflater.java:259) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflateChildren(DynamicLayoutInflater.java:250) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.doInflation(DynamicLayoutInflater.java:203) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflate(DynamicLayoutInflater.java:180) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflateChildren(DynamicLayoutInflater.java:259) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflateChildren(DynamicLayoutInflater.java:250) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.doInflation(DynamicLayoutInflater.java:203) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.inflate(DynamicLayoutInflater.java:180) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.doInflation(DynamicLayoutInflater.java:161) ... 41 more Caused by: java.lang.ClassNotFoundException: android.widget.card at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:400) at java.lang.Class.forName(Class.java:326) at com.stardust.autojs.core.ui.inflater.DynamicLayoutInflater.createViewForName(DynamicLayoutInflater.java:282) ... 53 more Caused by: java.lang.ClassNotFoundException: Didn't find class "android.widget.card" on path: DexPathList[[zip file "/data/app/org.autojs.autojs-1/base.apk"],nativeLibraryDirectories=[/data/app/org.autojs.autojs-1/lib/arm, /system/fake-libs, /data/app/org.autojs.autojs-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:380) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 57 more

Device info:

App version4.0.1 Beta
App version code404
Android build version8.11.15
Android release version7.1.2
Android SDK version25
Android build IDMIUI10_Builds_by_HitoLiu
Device brandOnePlus
Device manufacturerOnePlus
Device nameOnePlus3
Device modelONEPLUS A3010
Device product nameOnePlus 3T
Device hardware nameqcom
ABIs[arm64-v8a, armeabi-v7a, armeabi]
ABIs (32bit)[armeabi-v7a, armeabi]
ABIs (64bit)[arm64-v8a]