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.
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
All that I can say is that you did something wrong because this class androidx.customview.poolingcontainer.PoolingContainer is inside androidx.customview:customview-poolingcontainer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.