mohsen programmer
Member
Hello
In B4A 13, after running the program, a force close occurs and this error is printed:
How do I fix this error? (I can't disable a library or change any code because it's a large old project.)
These strange errors all occur after updating B4A to version 13.
In B4A 13, after running the program, a force close occurs and this error is printed:
B4X:
** Activity (main) Pause, UserClosed = false **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
** Activity (main) Resume **
android.view.InflateException: Binary XML file line #5 in ir.myapp.test:layout/recyclerandfastscroll1: Binary XML file line #5 in ir.myapp.test:layout/recyclerandfastscroll1: Error inflating class androidx.recyclerview.widget.RecyclerView
Caused by: android.view.InflateException: Binary XML file line #5 in ir.myapp.test: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:858)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1010)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:965)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1127)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1088)
at android.view.LayoutInflater.inflate(LayoutInflater.java:686)
at android.view.LayoutInflater.inflate(LayoutInflater.java:538)
at android.view.LayoutInflater.inflate(LayoutInflater.java:485)
at wir.hitex.recycler.Hitex_LayoutView.InnerInitialize(Hitex_LayoutView.java:437)
at ir.Type.Hitex_RecyclerView.Build(Hitex_RecyclerView.java:21)
at ir.myapp.test.main._desine_page4(main.java:2746)
at ir.myapp.test.main$ResumableSub_hd1_host_ResponseBody.resume(main.java:4108)
at ir.myapp.test.main._hd1_host_responsebody(main.java:3705)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1114)
at anywheresoftware.b4a.keywords.Common.CallSubNew3(Common.java:1077)
at ir.myapp.test.amir_lib$ResumableSub_hd_host_onNext.resume(amir_lib.java:399)
at anywheresoftware.b4a.keywords.Common$14.run(Common.java:1748)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7872)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
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)
... 29 more
Caused by: java.lang.ClassNotFoundException: androidx.customview.poolingcontainer.PoolingContainer
... 31 more
These strange errors all occur after updating B4A to version 13.