The font file name must end with .xml

409 Views Asked by At

Please click here to view the FontError Screenshot

Please, what might be the cause?

2

There are 2 best solutions below

3
AAV On

I think you have copy of font file in this address:

app/src/main/res/fonts/..

and if you sure that, check this link

0
Peacemaker Otoo On

Problem solved! There was another fonts folder hidden inside the res/ but it but wasn't showing in android project files. And the program still holds this reference file I deleted.

This is "wizard-error" . Lol

How I solved it

  1. I went to my project folder on my desktop
  2. \app\src\main\res\font
  3. Right clicked on it and deleted it.

invalidate and restart the android studio.

Thanks to my helpers.