benyamin Member Aug 22, 2024 #1 After updating to version 13 beta 6 and using the new SDK, I have this error on my project and it doesn't tell me the name of the class so I know what class I'm missing. @Erel Attachments Error.png 10.4 KB · Views: 512 Eror.png 17.2 KB · Views: 476 lib.png 40.5 KB · Views: 485
After updating to version 13 beta 6 and using the new SDK, I have this error on my project and it doesn't tell me the name of the class so I know what class I'm missing. @Erel
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2024 #2 Please post the logs as text. And remove the Try / Catch block so you will get the original error. Upvote 0
benyamin Member Aug 25, 2024 #3 Erel said: Please post the logs as text. And remove the Try / Catch block so you will get the original error. Click to expand... B4X: Copy android.view.InflateException: Binary XML file line #5 in com.app2.pn3:layout/recyclerandfastscroll1: Binary XML file line #5 in com.app2.pn3:layout/recyclerandfastscroll1: Error inflating class androidx.recyclerview.widget.RecyclerView Caused by: android.view.InflateException: Binary XML file line #5 in com.app2.pn3:layout/recyclerandfastscroll1: Error inflating class androidx.recyclerview.widget.RecyclerView Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at android.view.LayoutInflater.createView(LayoutInflater.java:882) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1034) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:989) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1151) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1112) at android.view.LayoutInflater.inflate(LayoutInflater.java:700) at android.view.LayoutInflater.inflate(LayoutInflater.java:544) at android.view.LayoutInflater.inflate(LayoutInflater.java:491) at wir.hitex.recycler.Hitex_LayoutView.InnerInitialize(Hitex_LayoutView.java:442) at ir.Type.Hitex_RecyclerView.Build(Hitex_RecyclerView.java:21) at com.app2.pn3.main2$ResumableSub_Activity_Create.resume(main2.java:989) at com.app2.pn3.main2._activity_create(main2.java:452) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221) at com.app2.pn3.main2.afterFirstLayout(main2.java:105) at com.app2.pn3.main2.access$000(main2.java:17) at com.app2.pn3.main2$WaitForLayout.run(main2.java:83) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.app.ActivityThread.main(ActivityThread.java:8919) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103) Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/customview/poolingcontainer/PoolingContainer; at androidx.recyclerview.widget.RecyclerView.<init>(RecyclerView.java:817) at androidx.recyclerview.widget.RecyclerView.<init>(RecyclerView.java:739) ... 27 more Caused by: java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.PoolingContainer ... 29 more main2afterFirstLayout (java line: 105) java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at anywheresoftware.b4a.BA.raiseEvent2(BA.java:251) at com.app2.pn3.main2.afterFirstLayout(main2.java:105) at com.app2.pn3.main2.access$000(main2.java:17) at com.app2.pn3.main2$WaitForLayout.run(main2.java:83) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.app.ActivityThread.main(ActivityThread.java:8919) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:247) ... 11 more Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at ir.tapsell.sdk.k.c.a(Unknown Source:34) at ir.tapsell.sdk.k.c$a.uncaughtException(Unknown Source:2) at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.handleUncaughtException(ServiceHelper.java:276) ... 13 more Upvote 0
Erel said: Please post the logs as text. And remove the Try / Catch block so you will get the original error. Click to expand... B4X: Copy android.view.InflateException: Binary XML file line #5 in com.app2.pn3:layout/recyclerandfastscroll1: Binary XML file line #5 in com.app2.pn3:layout/recyclerandfastscroll1: Error inflating class androidx.recyclerview.widget.RecyclerView Caused by: android.view.InflateException: Binary XML file line #5 in com.app2.pn3:layout/recyclerandfastscroll1: Error inflating class androidx.recyclerview.widget.RecyclerView Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at android.view.LayoutInflater.createView(LayoutInflater.java:882) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1034) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:989) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1151) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1112) at android.view.LayoutInflater.inflate(LayoutInflater.java:700) at android.view.LayoutInflater.inflate(LayoutInflater.java:544) at android.view.LayoutInflater.inflate(LayoutInflater.java:491) at wir.hitex.recycler.Hitex_LayoutView.InnerInitialize(Hitex_LayoutView.java:442) at ir.Type.Hitex_RecyclerView.Build(Hitex_RecyclerView.java:21) at com.app2.pn3.main2$ResumableSub_Activity_Create.resume(main2.java:989) at com.app2.pn3.main2._activity_create(main2.java:452) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221) at com.app2.pn3.main2.afterFirstLayout(main2.java:105) at com.app2.pn3.main2.access$000(main2.java:17) at com.app2.pn3.main2$WaitForLayout.run(main2.java:83) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.app.ActivityThread.main(ActivityThread.java:8919) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103) Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/customview/poolingcontainer/PoolingContainer; at androidx.recyclerview.widget.RecyclerView.<init>(RecyclerView.java:817) at androidx.recyclerview.widget.RecyclerView.<init>(RecyclerView.java:739) ... 27 more Caused by: java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.PoolingContainer ... 29 more main2afterFirstLayout (java line: 105) java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at anywheresoftware.b4a.BA.raiseEvent2(BA.java:251) at com.app2.pn3.main2.afterFirstLayout(main2.java:105) at com.app2.pn3.main2.access$000(main2.java:17) at com.app2.pn3.main2$WaitForLayout.run(main2.java:83) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at android.app.ActivityThread.main(ActivityThread.java:8919) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:247) ... 11 more Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at ir.tapsell.sdk.k.c.a(Unknown Source:34) at ir.tapsell.sdk.k.c$a.uncaughtException(Unknown Source:2) at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.handleUncaughtException(ServiceHelper.java:276) ... 13 more
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2024 #4 Moved to the questions forum. This is the error: java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.PoolingContainer Add this line to the main module: Code: Copy #AdditionalJar: androidx.customview:customview-poolingcontainer Upvote 0
Moved to the questions forum. This is the error: java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.PoolingContainer Add this line to the main module: Code: Copy #AdditionalJar: androidx.customview:customview-poolingcontainer
benyamin Member Aug 26, 2024 #5 Erel said: Moved to the questions forum. This is the error: java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.PoolingContainer Add this line to the main module: Code: Copy #AdditionalJar: androidx.customview:customview-poolingcontainer Click to expand... It could not be fixed, it gives the same error as before Upvote 0
Erel said: Moved to the questions forum. This is the error: java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.PoolingContainer Add this line to the main module: Code: Copy #AdditionalJar: androidx.customview:customview-poolingcontainer Click to expand... It could not be fixed, it gives the same error as before
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2024 #6 Clear the project and post the error message. Note that the problem is that you are using an outdated library that needs to be updated. Upvote 0
Clear the project and post the error message. Note that the problem is that you are using an outdated library that needs to be updated.
benyamin Member Aug 26, 2024 #7 same error Erel said: Clear the project and post the error message. Note that the problem is that you are using an outdated library that needs to be updated. Click to expand... Upvote 0
same error Erel said: Clear the project and post the error message. Note that the problem is that you are using an outdated library that needs to be updated. Click to expand...
benyamin Member Aug 26, 2024 #8 Shelby said: You forgot, Erel asked you to post your error message. Click to expand... I said that it gave the same error as before that I sent above Upvote 0
Shelby said: You forgot, Erel asked you to post your error message. Click to expand... I said that it gave the same error as before that I sent above
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2024 #9 All that I can say is that you did something wrong because this class androidx.customview.poolingcontainer.PoolingContainer is inside androidx.customview:customview-poolingcontainer Upvote 0
All that I can say is that you did something wrong because this class androidx.customview.poolingcontainer.PoolingContainer is inside androidx.customview:customview-poolingcontainer