No resource found that matches the given name 'android:Widget.Material.A
来源:互联网 发布:软件shop floor editor 编辑:程序博客网 时间:2024/04/29 10:39
升级sdk 到5.0时,创建项目时会多创建一个库项目,叫appcompat_v7。创建完成后,这个项目可能会报错,诸如出现:No resource found that matches the given name 'android:Widget.Material.ActionButton'等错误。下面是一些解决方案:
解决方案1:使用sdk manager下载以下内容:
解决方案2:如果你不想创建appcompat_v7,你可以在创建项目时将minimum Required SDK设置为4.1以上,这时就不再生成appcompat_v7项目了,然后你再去清单文件中将minSdkVersion还原为8就行了.
参考资料:1.http://stackoverflow.com/questions/26457096/appcompat-v7-r21-returning-error-in-values-xml2.http://stackoverflow.com/questions/26530415/error-in-styles-base-xml-file-android-app-no-resource-found-that-matches-the
解决方案1:使用sdk manager下载以下内容:
解决方案2:如果你不想创建appcompat_v7,你可以在创建项目时将minimum Required SDK设置为4.1以上,这时就不再生成appcompat_v7项目了,然后你再去清单文件中将minSdkVersion还原为8就行了.
参考资料:1.http://stackoverflow.com/questions/26457096/appcompat-v7-r21-returning-error-in-values-xml2.http://stackoverflow.com/questions/26530415/error-in-styles-base-xml-file-android-app-no-resource-found-that-matches-the
以上就介绍了升级android sdk到5.0时,创建项目出现错误:No resource found that matches the given name 'android:Widget.Material.A,包括了方面的内容,希望对Android开发有兴趣的朋友有所帮助。
转载 http://www.codes51.com/article/detail_95795.html
0 0
- No resource found that matches the given name 'android:Widget.Material.A
- No resource found that matches the given name 'android:Widget....
- No resource found that matches the given name 'android:Widget.Material.ActionButton'.
- No resource found that matches the given name 'android:Widget.Material.ActionButton'解决
- No resource found that matches the given name 'android:Widget.Material.ActionButton'.
- No resource found that matches the given name 'android:Widget.Material.ActionButton'的原因及解决方法
- No resource found that matches the given name 'android:Widget.Material.ActionButton'
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:Widget.Material.Button.Colored' 解决
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Invers
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button...
- 升级android sdk到5.0时,创建项目出现错误:No resource found that matches the given name 'android:Widget.Material.A
- Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.A
- IOS操作SQLite
- 【操作系统】第一遍宏观总结
- 2015.02.04——张佳莉
- HTML5/jQuery界面控件:Ignite UI
- 【BZOJ】【P3786】【星系探索】【题解】【(伪)Top tree】
- No resource found that matches the given name 'android:Widget.Material.A
- scanf()函数的用法
- Android 中的Handler
- ASP.Net日志记录组件XCLNetLogger发布啦
- [Android]PHP的Sha1轉成Java的Sha1
- (三)懒加载以及一些设计规范
- 在使用delegate时,使用event 与不使用的区别
- android按键的三种响应方式
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3