Error from Companion: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/AccessibilityDelegateCompat;

Error from Companion: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/AccessibilityDelegateCompat;

What does this error means and whats the solution for it?

Extensions used in project ?

Horizontal scroll handler
Vertical scroll handler
Kevinkun wheel view
Pager
Pupup View
Dynamic components
Photoview
Devyb popupmenu
Leo profile view
View pager animation

Update [AndroidX] View Pager Extension | View pager with custom animations and much more to Version 2

I just deleted the extension and this error is solved but, my app crashes even.

Have you checked Avoid Crashes of the Application for some of the components ?

I am using Floating action button, spinner, TinyDB and Spreadsheet component.

FAB can cause crash if left the material icon name field empty, Spinner Elements from String should not be empty which also leads to the crash, TinyDB Namespace field should not be empty, Spreadsheet Component’s View Name field should not be empty and also About Screen Title shouldn’t be empty. Have you checked them ?

yes, I have checked all these and made corrections before but still crashes.

Try using logcat to find what causes the crash

I got it, it was crashing because of spreadsheet, because I was not using it, I deleted it and it worked, Thanks !

1 Like

BTW, is there any way to decrease the elevation of button to 0.

You can always use a cardview as button and set elevation to 0