【问题标题】:I'm using Android Studio 2.3.1我正在使用 Android Studio 2.3.1
【发布时间】:2019-04-21 13:16:26
【问题描述】:

Error:In <declare-styleable> FontFamilyFont, unable to find attribute android:font
Error:In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

怎么办?

【问题讨论】:

标签: android android-studio google-cloud-firestore


【解决方案1】:

我有同样的问题,我改变了这些

<declare-styleable name="....">
    <attr name="font" format="integer" />

</declare-styleable>

<declare-styleable name="......">
    <attr name="fontName" format="integer" />

</declare-styleable>

在您的情况下,将 android:fontandroid:fontWeight 重命名为自定义名称

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-09-19
    • 1970-01-01
    • 1970-01-01
    • 2017-09-25
    • 2015-12-28
    • 1970-01-01
    • 2018-09-10
    • 1970-01-01
    相关资源
    最近更新 更多