Hi,
when I insert a MLcomoBox in my activity (Activity_Create)
so I get this error :
What this mean ?
when I insert a MLcomoBox in my activity (Activity_Create)
B4X:
cbAutoScale.Initialize(Activity,Me,Null,"cbAutoScale")
so I get this error :
B4X:
java.lang.NoSuchMethodError: No virtual method setText(Ljava/lang/Object;)V in class Lanywheresoftware/b4a/objects/LabelWrapper; or its super classes (declaration of 'anywheresoftware.b4a.objects.LabelWrapper' appears in /data/app/b4a.example-1/base.apk)
at org.mlsoft.mlcombobox._initialize(mlcombobox.java:645)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:755)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:345)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at b4a.example.main.afterFirstLayout(main.java:102)
at b4a.example.main.access$000(main.java:17)
at b4a.example.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
** Activity (main) Resume **
An error occurred:
(Line: 473) Activity.AddView(cbAutoScale.AsView,0,0,40,40)
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
** Activity (main) Resume **
What this mean ?