问题描述
我在更新到最新的支持库版本 26.0.0 时遇到了这个问题(https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-0):
<块引用>错误:(18, 21) 找不到与给定名称匹配的资源:attr'android:keyboardNavigationCluster'.
<块引用>
com.android.ide.common.process.ProcessException: 无法执行 aapt
文件来自支持库:
我们使用以下版本:
<小时>
有什么想法吗?
我可以通过更新 gradle 中的 sdk 版本和工具来解决它compileSdkVersion 26
buildToolsVersion "26.0.1"
和支持库 26.0.1
https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-1
I've got this issue while updating to the latest Support Library version 26.0.0 (https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-0):
Error:(18, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
com.android.ide.common.process.ProcessException: Failed to execute aapt
The file is from the support library:
We're using the following versions:
Any ideas?
I was able to resolve it by updating sdk version and tools in gradle
compileSdkVersion 26
buildToolsVersion "26.0.1"
and support library 26.0.1
https://developer.android.com/topic/libraries/support-library/revisions.html#26-0-1
这篇关于找不到与给定名称匹配的资源:attr 'android:keyboardNavigationCluster'.更新到支持库 26.0.0 时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!