Where should I put the “ttf” files in an Android project?

后端 未结 7 2041
眼角桃花
眼角桃花 2020-12-16 10:47

I\'m trying to use fonts in my project using Typeface. I copied the \"font.ttf\" into a folder named \"fonts\" inside \"assets\" folder. But eclipse do not allo

7条回答
  •  死守一世寂寞
    2020-12-16 11:04

    Thank you everybody for answers. But i managed to make it work by doing following

    "clean your project with Project menu > clean tab then build your project

    If it's still unsolved, configure build path by right click on project > build path > android > restore default

    I hope this is helpful"

    answer found at Error in Android project name in Eclipse

提交回复
热议问题