Android Question MaterialDateTimePicker with B4a 10.7 Error

Marvel

Active Member
Licensed User
I get this error with MaterialDatetimePicker in B4a 10.7. It's exactly the same code that was working in version 10.6.
Just curious, is this an example of B4a v10.7 incompatibility with a third party library like DesignSupport?

B4X:
java.lang.RuntimeException: Font asset not found fonts/Roboto-Medium.ttf
    at android.graphics.Typeface.createFromAsset(Typeface.java:979)
    at com.wdullaer.materialdatetimepicker.TypefaceHelper.get(TypefaceHelper.java:31)
    at com.wdullaer.materialdatetimepicker.time.TimePickerDialog.onCreateView(TimePickerDialog.java:593)
    at android.app.Fragment.performCreateView(Fragment.java:2534)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1303)
    at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2436)
    at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2215)
    at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2171)
    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2072)
    at android.app.FragmentManagerImpl$1.run(FragmentManager.java:742)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:224)
    at android.app.ActivityThread.main(ActivityThread.java:7560)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top