简体   繁体   English

字体android studio 3错误:找不到与给定名称匹配的资源

[英]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.

相关问题 Android错误:找不到与Android Studio中的给定名称匹配的资源 - Android Error: No resource found that matches the given name in Android Studio 错误未找到与给定名称匹配的资源:Android Studio中的attr&#39;borderWidth&#39; - Error No resource found that matches the given name: attr 'borderWidth' in Android Studio Android Studio - 错误:找不到与给定名称匹配的资源:attr&#39;metaButtonBarButtonStyle&#39; - Android Studio - Error: No resource found that matches the given name: attr 'metaButtonBarButtonStyle' Android Studio-找不到与给定名称匹配的资源 - Android Studio - No resource found that matches the given name Android Studio:未找到与给定名称匹配的资源:attr&#39;android:actionModeShareDrawable&#39; - Android Studio : No resource found that matches the given name: attr 'android:actionModeShareDrawable' 在Android Studio中构建项目时出错“错误:找不到与给定名称匹配的资源(在____处使用值&#39;@ drawable / <name> “) - Error Building Project in Android Studio "Error: No resource found that matches the given name (at ____ with value '@drawable/<name>') 问题Android Studio找不到与给定名称匹配的资源 - Problems Android studio No resource found that matches the given name Android Studio:找不到与给定名称匹配的资源:attr&#39;searchViewTextField&#39; - Android Studio: No resource found that matches the given name: attr 'searchViewTextField' 更新android studio和构建工具后,找不到与android中给定名称错误匹配的资源 - No resource found that matches the given name error in android after updating android studio and build tools Android Studio:错误:找不到与给定名称匹配的资源(在&#39;layout_above&#39;处,值为&#39;@ id / adView&#39;) - Android Studio: Error: No resource found that matches the given name (at 'layout_above' with value '@id/adView')
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM