1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AndroidStudioのフォントファイルの名前について(備忘録メモ)

Last updated at Posted at 2018-08-14

AndroidStudioのフォントの種類を変更をしたいときに遭遇したエラーについてのメモ。

公式のガイドラインを参考にgoogleFontsからフォントをdownloadしてフォントの追加を進めていったら、
/.../app/src/main/res/font/roboto-Black.ttf: Error: 'R' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore
というエラーが😂

例えば、Roboto-Medium.ttfという名前の大文字と-記号を変更しないといけないです。
ということで下記画像のように名前を変更したら解決。
Screen Shot 2018-08-14 at 11.06.59 AM.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?