appcompat_v7没有bin

时间:2014-12-22 11:54:50

标签: java android eclipse

当我在Eclipse中创建Android项目时,它会抛出错误!在appcompat_v7中不存在“bin”文件夹。

[2014-12-22 13:21:48 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Eclipse Prjects\appcompat_v7\bin\jarlist.cache
[2014-12-22 13:21:48 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Eclipse Prjects\appcompat_v7\bin\jarlist.cache
[2014-12-22 13:38:39 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Eclipse Prjects\appcompat_v7\bin\jarlist.cache
[2014-12-22 13:38:39 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Eclipse Prjects\appcompat_v7\bin\jarlist.cache
[2014-12-22 13:38:42 - Hello] C:\Eclipse Prjects\appcompat_v7\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-22 13:38:42 - Hello] 
[2014-12-22 13:38:42 - Hello] C:\Eclipse Prjects\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
[2014-12-22 13:38:42 - Hello] 
[2014-12-22 13:38:42 - Hello] C:\Eclipse Prjects\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
[2014-12-22 13:38:42 - Hello] 

and so on

做什么?

1 个答案:

答案 0 :(得分:0)

从项目属性中删除appcompat_v7并编辑style.xml文件

<style name="AppBaseTheme" parent="what ever the error is ">

将此替换为此样式或任何您想要的

<style name="AppBaseTheme" parent="android:Theme.Light">