من نمیدونم چرا از بعضی از ویوهای متریالی استفاده میکنم، برنامم خطا میده!!
مثلا از
ACBotton
استفاده میکنم همه چی اوکیه، اما از
ACSpinner
استفاده میکنم این ارور رو میده
Error occurred on line: 0 (alarm_clock_weekly_main)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at ir.morteza.alarm.alarm_clock_weekly_main._activity_create(alarm_clock_weekly_main.java:385)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at ir.morteza.alarm.alarm_clock_weekly_main.afterFirstLayout(alarm_clock_weekly_main.java:104)
at ir.morteza.alarm.alarm_clock_weekly_main.access$000(alarm_clock_weekly_main.java:17)
at ir.morteza.alarm.alarm_clock_weekly_main$WaitForLayout.run(alarm_clock_weekly_main.java:82)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 22 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020053
at android.content.res.Resources.loadDrawable(Resources.java:1923)
at android.content.res.Resources.getDrawable(Resources.java:664)
at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:479)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:203)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:753)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:196)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
at android.support.v7.content.res.AppCompatResources.getDrawable(AppCompatResources.java:102)
at android.support.v7.widget.TintTypedArray.getDrawable(TintTypedArray.java:76)
at android.support.v7.widget.AppCompatPopupWindow.init(AppCompatPopupWindow.java:57)
at android.support.v7.widget.AppCompatPopupWindow.<init>(AppCompatPopupWindow.java:47)
at android.support.v7.widget.ListPopupWindow.<init>(ListPopupWindow.java:270)
at android.support.v7.widget.ListPopupWindow.<init>(ListPopupWindow.java:242)
at android.support.v7.widget.AppCompatSpinner$DropdownPopup.<init>(AppCompatSpinner.java:723)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:235)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:167)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:148)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:133)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:107)
at de.amberhome.objects.appcompat.ACSpinnerWrapper$ACB4ASpinner.<init>(ACSpinnerWrapper.java:371)
at de.amberhome.objects.appcompat.ACSpinnerWrapper.innerInitialize(ACSpinnerWrapper.java:74)
at anywheres
Message longer than Log limit (4000). Message was truncated.
** Activity (alarm_clock_weekly_main) Resume **
سوال
MR.B4A 124
سلام به همه
من نمیدونم چرا از بعضی از ویوهای متریالی استفاده میکنم، برنامم خطا میده!!
مثلا از
ACBotton
استفاده میکنم همه چی اوکیه، اما از
ACSpinner
استفاده میکنم این ارور رو میده
Error occurred on line: 0 (alarm_clock_weekly_main)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at ir.morteza.alarm.alarm_clock_weekly_main._activity_create(alarm_clock_weekly_main.java:385)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at ir.morteza.alarm.alarm_clock_weekly_main.afterFirstLayout(alarm_clock_weekly_main.java:104)
at ir.morteza.alarm.alarm_clock_weekly_main.access$000(alarm_clock_weekly_main.java:17)
at ir.morteza.alarm.alarm_clock_weekly_main$WaitForLayout.run(alarm_clock_weekly_main.java:82)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 22 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020053
at android.content.res.Resources.loadDrawable(Resources.java:1923)
at android.content.res.Resources.getDrawable(Resources.java:664)
at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:479)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:203)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:753)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:196)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
at android.support.v7.content.res.AppCompatResources.getDrawable(AppCompatResources.java:102)
at android.support.v7.widget.TintTypedArray.getDrawable(TintTypedArray.java:76)
at android.support.v7.widget.AppCompatPopupWindow.init(AppCompatPopupWindow.java:57)
at android.support.v7.widget.AppCompatPopupWindow.<init>(AppCompatPopupWindow.java:47)
at android.support.v7.widget.ListPopupWindow.<init>(ListPopupWindow.java:270)
at android.support.v7.widget.ListPopupWindow.<init>(ListPopupWindow.java:242)
at android.support.v7.widget.AppCompatSpinner$DropdownPopup.<init>(AppCompatSpinner.java:723)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:235)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:167)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:148)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:133)
at android.support.v7.widget.AppCompatSpinner.<init>(AppCompatSpinner.java:107)
at de.amberhome.objects.appcompat.ACSpinnerWrapper$ACB4ASpinner.<init>(ACSpinnerWrapper.java:371)
at de.amberhome.objects.appcompat.ACSpinnerWrapper.innerInitialize(ACSpinnerWrapper.java:74)
at anywheres
Message longer than Log limit (4000). Message was truncated.
** Activity (alarm_clock_weekly_main) Resume **
و از برنامه خارج میشه
ممنون میشم کمکم کنید که دلیلش چیه
لینک ارسال
به اشتراک گذاری در سایت های دیگر
0 پاسخ به این سوال تاکنون داده شده است
ارسالهای توصیه شده
بایگانی شده
این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.