Caused by: java.lang.RuntimeException: Font asset not found fonts/digit.ttf
at android.graphics.Typeface.createFromAsset(Typeface.java:979)
at anywheresoftware.b4a.keywords.constants.TypefaceWrapper.LoadFromAssets(TypefaceWrapper.java:48)
at com.github.glomadrian.velocimeterlibrary.painter.digital.DigitalImp.initTypeFace(DigitalImp.java:64)
at com.github.glomadrian.velocimeterlibrary.painter.digital.DigitalImp.<init>(DigitalImp.java:38)
at com.github.glomadrian.velocimeterlibrary.VelocimeterView.init(VelocimeterView.java:132)
at com.github.glomadrian.velocimeterlibrary.VelocimeterView.<init>(VelocimeterView.java:78)
Where does this error come from? If it is from a library then it will require a small update ( fonts/digit.ttf =>fonts\digit.ttf). It is related to a change in the way AAPT2 handles sub folders in the assets folder.
The folder fonts is inside your Files folder? The file digit.ttf (all lowercase) is inside the folder Files\fonts\? What Version of b4a yyou are using? Which is the targetsdk set to????? Which Android.jar (Version) you are using? project_directory/Files/fonts/digit.TTF < changed to .ttf and all...
www.b4x.com
The Lib can be moved to Library Archive as i do not have the source anylonger.
This custom view class is compatible with B4A, B4J and B4i. A nice and simple gauge. You can easily customize it as needed. It uses the Crystal font: http://www.fontspace.com/allen-r-walden/crystal There are two types of gauges: half circle and full circle. Usage instructions: - Add the...