java.lang.RuntimeException: Font asset not found fonts/Roboto-Medium.ttf
at android.graphics.Typeface.createFromAsset(Typeface.java:206)
at com.wdullaer.materialdatetimepicker.TypefaceHelper.get(TypefaceHelper.java:31)
at com.wdullaer.materialdatetimepicker.date.DatePickerDialog.onCreateView(DatePickerDialog.java:360)
at android.app.Fragment.performCreateView(Fragment.java:2353)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:995)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
at android.app.BackStackRecord.run(BackStackRecord.java:816)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:483)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
I had the same problem, without using MaterialDateTimePicker, but only importing png files that were needed for the layout. Despite having the file shape_01.png in the Files folder, even having synchronized the folder, clean project, etc it always gave me the same error. I had to rename the file, and re-enter it
I did not have the Roboto font, I had to add it later because of the error. I tried putting it in both Project/Files and Project/Files/fonts, but to no result ...
Any suggestion?
I have the same problem and I have used this library in an application for 3 years, now I must replace this library and make an update to all my clients
Has anyone managed it in the new B4A version (10.7 / 10.9) ?
I would like to continue using this great lib.
If not, which alternative for a DateTime Picker do you have running?