Android遇到的那些问题
使用工具:Android studio
- No resource found that matches the given name: attr
‘android:keyboardNavigationCluster’. when updati
原因分析:这个问题的出现主要是因为编译版本与support-v7的版本不一致引起的,所以会出现找到资源的提示。
解决办法:设置compileSdkVersion和buildToolsVersion的值与support-v7一致。
例如:
compileSdkVersion 25
buildToolsVersion “25.0.2”
compile ‘com.android.support:appcompat-v7:25.1.0’