[英]Error with fonts android studio 3: No resource found that matches the given name
Error:(18) No resource found that matches the given name (at '^index_0' with value '@font/amita_bold').
Error:(18) No resource found that matches the given name (at '^index_0' with value '@font/amita_bold').
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
Information:BUILD FAILED
Information:Total time: 35.612 secs
Information:3 errors
Information:0 warnings
Information:See complete output in console
Error itself saying that you didn't added any font style file.错误本身说您没有添加任何字体样式文件。 You need to download the Amita-Bold.ttf file from this link.
您需要从下载Amita的-Bold.ttf文件 这一环节。 Download the file and unzip the folder.
下载文件并解压文件夹。 You will get 2 files.
你会得到2个文件。 Add required file under your res/font directory.
在 res/font 目录下添加所需的文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.