Skip to main content
added 416 characters in body
Source Link
Yan.F
  • 151
  • 6

Try TTF upper case instead of ttf in all ofThe Options are:

  1. Try TTF upper case instead of ttf in all of your code - in case your original file has TTF suffix, because android is case sensitive.

  2. In build.gradle file under your android module make sure that:

    assets.srcDirs = ['assets']

And not:

assets.srcDirs = ['assetManager']

In another words make sure its your codeandroid assets folder. this one worked for me. then clean build project, and uninstall old app from android device.

Try TTF upper case instead of ttf in all of your code.

The Options are:

  1. Try TTF upper case instead of ttf in all of your code - in case your original file has TTF suffix, because android is case sensitive.

  2. In build.gradle file under your android module make sure that:

    assets.srcDirs = ['assets']

And not:

assets.srcDirs = ['assetManager']

In another words make sure its your android assets folder. this one worked for me. then clean build project, and uninstall old app from android device.

Source Link
Yan.F
  • 151
  • 6

Try TTF upper case instead of ttf in all of your code.