新搭建的android开发环境,appcompat报找不到资源

大麦兜_tgsoft 2014-03-28 02:16:24
小弟纯初学者,问题好低级,还请见笑!请各位大牛帮忙指教下!!谢谢!

1、刚搭建的android开发环境
2、SDK为最新版本
3、新建的项目
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.Solid'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:122: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:125: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.CloseMode'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:133: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.CloseMode'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:137: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.Overflow'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:141: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.Overflow'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:44: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabBar'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:56: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabView'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:64: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabText'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:72: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:76: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:104: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:108: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:112: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:116: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:84: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Menu'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:92: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:96: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title.Inverse'.
[2014-03-28 10:22:38 - HelloWorld] E:\ME_only\CODE\android\workspace\appcompat_v7\res\values-v14\styles_base.xml:100: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse'.
.
...全文
4194 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
ycl5174500 2015-07-19
  • 打赏
  • 举报
回复
最小版本的问题。最小版本换成4.0就好了。 感谢,你大家注意:这个做法是争确的.
  • 打赏
  • 举报
回复
thanks
hzc650100 2014-11-03
  • 打赏
  • 举报
回复
最小版本的问题。最小版本换成4.0就好了。
_lee_chong 2014-10-24
  • 打赏
  • 举报
回复
我也遇到这问题,刚官网下的集成环境,怎么回事啊;
  • 打赏
  • 举报
回复
最后把appcompat也删了。 但是我也想知道怎么更改配置就能使用。楼主摸索出来了么?
  • 打赏
  • 举报
回复
把项目依赖库中的appcompat——v7移除,然后把资源中style删了,AndroidManifest.xml中配置style也一样删了。就可以了。
  • 打赏
  • 举报
回复
删了,还报错。 删了之后,一编译,R文件报错 Description Resource Path Location Type Syntax error, insert "}" to complete ClassBody R.java /appcompat_v7/gen/android/support/v7/appcompat line 3032 Java Problem 最后一行的花括号有问题。好像每次生成是都少一个花括号。
a5511258 2014-03-28
  • 打赏
  • 举报
回复
好像是把\values-v14文件夹删除了就好了,你试试。

80,349

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧