i have added html and css file in assets folder of android project directory and i want a font to be loaded from new font support i.e. font/somefont.ttf
i have tried adding different ways but none worked like as explained here Use custom font from res/font with WebView in Android
@font-face {
font-family: jost;
font-weight: normal;
src: url("file:///android_res/font/jost_400_book.ttf");
}
it should give apply font but i get get this exception in console
java.lang.ClassNotFoundException: Didn't find class "com.turningpoint.turningpoint.staging.R$font"
and no font is loadded.