Android Question CRASH using MaterialDateTime Picker object

Mike1970

Well-Known Member
Licensed User
Longtime User
As in a precedent post i said, im working on a project that i paused before all this massive AndroidX updates...
Now i noticed that the material date time picker it's not working anymore... Someone has solutions? (or other goodlooking libraries)



B4X:
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/ContextCompat;
    at com.wdullaer.materialdatetimepicker.date.DatePickerDialog.onCreateView(DatePickerDialog.java:335)
    at android.app.Fragment.performCreateView(Fragment.java:2236)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:986)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1161)
    at android.app.BackStackRecord.run(BackStackRecord.java:800)
    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1570)
    at android.app.FragmentManagerImpl$1.run(FragmentManager.java:492)
    at android.os.Handler.handleCallback(Handler.java:815)
    at android.os.Handler.dispatchMessage(Handler.java:104)
    at android.os.Looper.loop(Looper.java:207)
    at android.app.ActivityThread.main(ActivityThread.java:6020)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:936)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:797)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.ContextCompat" on path: DexPathList[[zip file "/data/app/pandora.onstage-2/base.apk"],nativeLibraryDirectories=[/data/app/pandora.onstage-2/lib/arm64, /vendor/lib64, /system/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    ... 14 more
    Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.ContextCompat
        at java.lang.Class.classForName(Native Method)
        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
        ... 15 more
    Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…