【问题标题】:Android resource linking failed error i got in android studio while building the App . I don't know how fix this issue . I am new to Android Studio [closed]我在构建应用程序时在 android studio 中遇到了 Android 资源链接失败错误。我不知道如何解决这个问题。我是 Android Studio 的新手 [关闭]
【发布时间】:2021-08-02 06:03:46
【问题描述】:

[1]这是我得到的输出和错误的截图。

[1]:图片链接https://i.stack.imgur.com/z2kUz.jpg

【问题讨论】:

    标签: java android xml android-studio build-error


    【解决方案1】:

    出现此错误是因为您使用了尚未定义的颜色值。您必须在 colors.xml 中为您用于主题的颜色定义颜色值。

    喜欢黑色<color name="Black">#000000</color>

    【讨论】:

      【解决方案2】:

      在你的 colors.xml 和 colors.xml(night) 中添加你在项目中使用的所有颜色值,因为你使用的是 dayNight 主题和错误,会去

      【讨论】:

        猜你喜欢
        • 2021-07-09
        • 2022-01-12
        • 1970-01-01
        • 2022-01-24
        • 1970-01-01
        • 2018-12-22
        • 1970-01-01
        • 1970-01-01
        • 2018-05-05
        相关资源
        最近更新 更多