Android Question customlistview error

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
I changed customlistview class with xCustomlistview library.
I got this error:
mainboard_activity_create (java line: 397)
java.lang.RuntimeException: java.lang.ClassNotFoundException: delivery.tawseel.android.customlistview
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at anywheresoftware.b4a.objects.TabStripViewPager.LoadLayout(TabStripViewPager.java:116)
at delivery.tawseel.android.mainboard._activity_create(mainboard.java:397)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at delivery.tawseel.android.mainboard.afterFirstLayout(mainboard.java:104)
at delivery.tawseel.android.mainboard.access$000(mainboard.java:17)
at delivery.tawseel.android.mainboard$WaitForLayout.run(mainboard.java:82)
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 android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Caused by: java.lang.ClassNotFoundException: delivery.tawseel.android.customlistview
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400)
at java.lang.Class.forName(Class.java:326)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:389)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:453)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:453)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:148)
... 15 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "delivery.tawseel.android.customlistview" on path: DexPathList[[zip file "/data/app/delivery.tawseel.android-2/base.apk"],nativeLibraryDirectories=[/data/app/delivery.tawseel.android-2/lib/arm64, /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)
... 22 more
Any idea!
 

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Also if I add customlistview.bas module I got another error:
B4X:
java.lang.RuntimeException: java.lang.RuntimeException: Field customlistview was declared with the wrong type.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Did you changed it and it was already present in the Layout Designer?
If so, enter designer, remove CustomListView and then add it again.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…