您的位置:首页 > 移动开发 > Android开发

Error:(15, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluste

2017-10-23 16:32 525 查看
android No resource found that matches the given name attr的一种解决办法

总的原则:

用于编译的SDK的版本 >= 所用支持库的版本,如用了下面的库:

[java] view
plain copy

compile 'com.android.support:design:22.2.1'  

那么SDK的版本要>=22:

[java] view
plain copy

compileSdkVersion 22  

此外,使用Android Support Design库后,如果项目中再次使用support v4包,会发生冲突,报java.exe finished with non-zero exit value 2这个错,此时删掉项目中的v4包即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐