Android resource linking failed
@tools:sample/avatars' is incompatible with attribute src (attr) reference|color.
android studio与referencelcolor属性不兼容怎么解决(语言-开发语言)
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
关注【相关推荐】
- 关于该问题,我找了一篇非常好的博客,你可以看看是否有帮助,链接:解决 Android resource linking failed, error: failed linking references.
- 除此之外, 这篇博客: android studio编译出错:Android resource linking failed中的 今天在Android studio通过模拟器运行app的时候,出现了以下错误: 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:

Android resource linking failed
AAPT: D:\developer\androidproject\MyApplication\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
D:\developer\androidproject\MyApplication\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
D:\developer\androidproject\MyApplication\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2781: error: resource android:attr/fontVariationSettings not found.
D:\developer\androidproject\MyApplication\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2782: error: resource android:attr/ttcIndex not found.
D:\developer\androidproject\MyApplication\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3207: error: resource android:attr/textFontWeight not found.
error: failed linking references.提示Android resource linking failed,error: failed linking references。
如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^解决 无用评论 打赏 举报