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包即可。
总的原则:
用于编译的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包即可。
相关文章推荐
- No resource found that matches the given name: attr 'android:keyboardNavigationCluster'
- 创建项目错误:error: Error: No resource found that matches the given name: attr 'android:windowElevation'.
- android No resource found that matches the given name attr的一种解决办法
- 解决Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android
- 关于Android报错:error: Error: No resource found that matches the given name (at 'label' with value)
- Android Error retrieving parent for item: No resource found that matches the given name '...'
- error: Error: No resource found that matches the given name: attr 'actionBarTabStyle'.
- Android:Error retrieving parent for item: No resource found that matches the given name解决方法
- Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:T
- Error retrieving parent for item: No resource found that matches the given name 'android:W
- AndroidManifest.xml:10: error: Error: No resource found that matches the given name
- Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:T
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:T
- No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
- Android Error : No resource found that matches the given name 'Theme.AppCompat.Light'.
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- android导入工程时style出错Error retrieving parent for item: No resource found that matches the given name '