
eclipse无法新建android项目 在线等 求解 30
D:\ANDROID\TestView\res\values\styles.xml:7:error:Errorretrievingparentforitem:Noreso...
D:\ANDROID\TestView\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-11 21:19:20 - TestView]
[2015-02-11 21:19:20 - TestView] D:\ANDROID\TestView\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-11 21:19:20 - TestView]
[2015-02-11 21:19:20 - TestView] D:\ANDROID\TestView\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-02-11 21:19:20 - TestView]
[2015-02-11 21:19:23 - TestView] D:\ANDROID\TestView\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-11 21:19:23 - TestView]
[2015-02-11 21:19:23 - TestView] D:\ANDROID\TestView\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-11 21:19:23 - TestView]
[2015-02-11 21:19:23 - TestView] D:\ANDROID\TestView\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-02-11 21:19:23 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:50: error: Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:74: error: Error: No resource found that matches the given name: attr 'editTextBackground'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:75: error: Error: No resource found that matches the given name: attr 'editTextColor'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:71: error: Error: No resource found that matches the given name: attr 'selectableItemBackgroundBorderless'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:87: error: Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:111: error: Error: No resource found that matches the given name: attr 'editTextBackground'. 展开
[2015-02-11 21:19:20 - TestView]
[2015-02-11 21:19:20 - TestView] D:\ANDROID\TestView\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-11 21:19:20 - TestView]
[2015-02-11 21:19:20 - TestView] D:\ANDROID\TestView\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-02-11 21:19:20 - TestView]
[2015-02-11 21:19:23 - TestView] D:\ANDROID\TestView\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-11 21:19:23 - TestView]
[2015-02-11 21:19:23 - TestView] D:\ANDROID\TestView\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-02-11 21:19:23 - TestView]
[2015-02-11 21:19:23 - TestView] D:\ANDROID\TestView\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-02-11 21:19:23 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:50: error: Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:74: error: Error: No resource found that matches the given name: attr 'editTextBackground'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:75: error: Error: No resource found that matches the given name: attr 'editTextColor'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:71: error: Error: No resource found that matches the given name: attr 'selectableItemBackgroundBorderless'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:87: error: Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'.
[2015-02-11 21:19:26 - TestView]
[2015-02-11 21:19:26 - TestView] D:\ANDROID\appcompat_v7\res\values-v21\themes_base.xml:111: error: Error: No resource found that matches the given name: attr 'editTextBackground'. 展开
2个回答
展开全部
可能是升级后的“tool”目录中工具有bug,我们把以前好使的SDK目录中的“tool”目录全部覆盖过来就好了。
Eclipse是著名的跨平台的自由集成开发环境(IDE)。最初主要用来Java语言开发,但是目前亦有人通过外挂程式使其作为其他计算机语言比如C++和Python的开发工具。Eclipse本身只是一个框架平台,但是众多外挂程式的支持使得Eclipse拥有其他功能相对固定的IDE软体很难具有的灵活性。许多软体开发商以Eclipse为框架开发自己的IDE。Eclipse最初由IBM公司开发,2001年11月贡献给开源社区,现在它由非营利软体供应商联盟Eclipse基金会(EclipseFoundation)管理。
展开全部
试试把minSdkVersion数值提高点 例如14
出现这种情况,是不是因为你升级的 android sdk?
有疑问还可以追问哦,如有需要还可以QQ协助。
出现这种情况,是不是因为你升级的 android sdk?
有疑问还可以追问哦,如有需要还可以QQ协助。
追问
可以了 , 可是我以前都能创建2.2以上的啊 升级了SDK 低版本就不支持了吗
追答
你创建低版本的是不是会自生成一个项目类似appcompat_v7的,如果正确引用这个项目也可以兼容低版本的。高版本的有一些特性低版本不支持。
我这之前也被这个问题困扰了好久。
可以的话,采纳下答案吧。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询