Search code examples
javaandroidfontsassets

unable to access the manually created assets folder with Java class using Java Library


enter image description here

Getting below error as-

java.lang.RuntimeException: Font asset not found arial.ttf


Solution

  • enter image description here

    Try to create a assest folder like this then put your font file in it, then it will work.

    enter image description here

    Your asset file structure should show like this [Icon under the file name], yours seems like normal folder.