Android Question Class did not include b4x_materialIcon font

Scantech

Well-Known Member
Licensed User
I get an error with my class. I use TypeFace = TypeFace.MaterialIcons in my class but, when compiled, it does not include the required font (materialicons.ttf) in the library.

** Activity (main) Resume **
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
2046
main_activity_create (java line: 353)
java.lang.RuntimeException: Font asset not found b4x_materialicons.ttf
at android.graphics.Typeface.createFromAsset(Typeface.java:206)
at anywheresoftware.b4a.objects.TextViewWrapper.getTypeface(TextViewWrapper.java:155)
at anywheresoftware.b4a.keywords.constants.TypefaceWrapper.getMATERIALICONS(TypefaceWrapper.java:56)
at cargauge.customlistview4.customlistview4._initialize(customlistview4.java:548)
at b4a.example.main._activity_create(main.java:353)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at b4a.example.main.afterFirstLayout(main.java:104)
at b4a.example.main.access$000(main.java:17)
at b4a.example.main$WaitForLayout.run(main.java:82)
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:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
 
Top