Ingeniero Cognitivo
Active Member
¿Porque cada vez que añado un acitivity, me falla el layout principal?.
java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Class cann
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutB
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(Activity
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell. Shell.r.unMethod(Shell.java:732)
at anywheresoftware.b4a.shell. Shell.aiseEventimpl(Shelljava: 351)
at anywheresoftware.b4a.shell. Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a. ShellBA.raiseEvent2(ShellBA.java: 144)
at b4a.example.main.afterFirstlayout(mainjava: 105)
at b4a.example.main.accessS000 (main.java: 17)
at b4a.example.mainSWaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handlerjava:789)
at android.os.Handler.dispatchMessage(Handlerjava:98)
at android.os.Looper.loop(Looper.java: 164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteSMethodAndArgsCaller.runZygote.j
at com.android.internal.os.Zygotelnit.main(Zygotelnit.java:1374)
Caused by:java.lang.ClassCastException: java.lang.Class cannot be cast to java.l
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(L
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(Li
at anvwheresoftware.h4a.kevwnrd.l avoutRiuilder.lnall avnutil avnutR
java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Class cann
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutB
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(Activity
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell. Shell.r.unMethod(Shell.java:732)
at anywheresoftware.b4a.shell. Shell.aiseEventimpl(Shelljava: 351)
at anywheresoftware.b4a.shell. Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a. ShellBA.raiseEvent2(ShellBA.java: 144)
at b4a.example.main.afterFirstlayout(mainjava: 105)
at b4a.example.main.accessS000 (main.java: 17)
at b4a.example.mainSWaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handlerjava:789)
at android.os.Handler.dispatchMessage(Handlerjava:98)
at android.os.Looper.loop(Looper.java: 164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteSMethodAndArgsCaller.runZygote.j
at com.android.internal.os.Zygotelnit.main(Zygotelnit.java:1374)
Caused by:java.lang.ClassCastException: java.lang.Class cannot be cast to java.l
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(L
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(Li
at anvwheresoftware.h4a.kevwnrd.l avoutRiuilder.lnall avnutil avnutR