I have just gone through an exercise to get
this posting of mine converted so that it works with B4A 9.5. I had the same error initially i.e
B4X:
Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
Then:
1. Installed the below via the SDK Manager
2. Changed wrapper dependencies to
B4X:
@DependsOn(values={"com.android.support:support-annotations", "com.android.support:support-v4", "constraintlayout-1.1.3.aar", "constraintlayout-solver-1.1.3"})
3. Copied constraintlayout-1.1.3.aar and constraintlayout-solver-1.1.3.jar to my additional libs folder
4. Extracted classes.jar from constraintlayout-1.1.3.aar and added it to the libs folder of my wrapper
5. Added constraintlayout-solver-1.1.3.jar to the libs folder of my wrapper
6. Recompiled the library
7. Refreshed libraries in B4A, Jetified, and cleaned project
8. Changed the layout file where necessary from:
B4X:
android.support.constraint.ConstraintLayout
.....to....
B4X:
androidx.constraintlayout.widget.ConstraintLayout
8. Enabled AppCompat V4.00 (
@corwin42 's library)
LiveEdgeDetection is now again compiling and working again on my device.