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

导入android-support-v7-appcompat出现问题: android:Widget.Material.ActionButton

2015-03-26 10:08 399 查看
[2014-12-03 11:49:13 - android-support-v7-appcompat] E:\my project\android\android-support-v7-appcompat\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
[2014-12-03 11:49:13 - android-support-v7-appcompat] E:\my project\android\android-support-v7-appcompat\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[2014-12-03 11:49:13 - android-support-v7-appcompat]

解决办法:

将文件project.properties中的

target=android-19

改为

target=android-21

后clean

即可解决

来自:http://blog.sina.com.cn/s/blog_b7688a6e0102v6z2.html

gradle参考:
http://www.th7.cn/Program/Android/201410/301583.shtml
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐