Android Question Error Using MaterialDateTimePicker

Kiran Raotole

Active Member
Licensed User
Error Log:
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:2505)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1303)
    at android.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1581)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1642)
    at android.app.BackStackRecord.executeOps(BackStackRecord.java:807)
    at android.app.FragmentManagerImpl.executeOps(FragmentManager.java:2410)
    at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
    at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2160)
    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2067)
    at android.app.FragmentManagerImpl$1.run(FragmentManager.java:742)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:233)
    at android.app.ActivityThread.main(ActivityThread.java:7959)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
Caused by: java.lang.ClassNotFoundException: android.support.v4.content.ContextCompat
    ... 18 more

Projeject attached.
 

Attachments

  • DateTimePickerEx.zip
    8.5 KB · Views: 323

Mahares

Expert
Licensed User
Longtime User
Projeject attached.
It looks like the below link experienced the exact error. Solution inside it:
 
Upvote 0
Top