Android 检索项的父项时出错:未找到与给定名称匹配的资源';Theme.Base.AppCompat.DialogWhenLarge.Base';

Android 检索项的父项时出错:未找到与给定名称匹配的资源';Theme.Base.AppCompat.DialogWhenLarge.Base';,android,Android,我在网上搜索了几天,但是没有找到正确的答案,帮帮我!!!非常感谢 首先打开SDK管理器,确保“Extras”下的“Android支持库”安装在那里 在您的工作空间中,从eclipse中永久删除“appcompat_v7”及其目录 文件|导入| Android(将现有Android代码导入工作区),然后点击下一步 选择根目录为“ADT\u BUNDLE\u INSTALLED\u directory\sdk\extras\android\support\v7”,然后在项目下选中“appcompa

我在网上搜索了几天,但是没有找到正确的答案,帮帮我!!!非常感谢

  • 首先打开SDK管理器,确保“Extras”下的“Android支持库”安装在那里

  • 在您的工作空间中,从eclipse中永久删除“appcompat_v7”及其目录

  • 文件|导入| Android(将现有Android代码导入工作区),然后点击下一步

  • 选择根目录为“ADT\u BUNDLE\u INSTALLED\u directory\sdk\extras\android\support\v7”,然后在项目下选中“appcompat”,然后点击“Finish”

  • 右键单击项目并点击“属性”,然后执行以下操作:

  • 在“Android”部分,确保在“library”部分下方选择了目标,删除旧的目标并浏览新的目标“appcompat_v7”

  • 从“Java构建路径”部分,转到“库”选项卡,并删除任何丢失的库(如果发现)

  • 从“Java构建路径”部分,转到“订单和导出”选项卡,仅突出显示以下内容,并保持相同的顺序:

    • 项目名称/src
    • 项目名称/代
    • Android私有库
    • Android依赖
  • 在“项目参考”部分,选中“appcompat_v7”


虽然很复杂,但我已经这样解决了。。我也希望你的。。祝你好运

很高兴听到这个。。希望标记为正确答案,以帮助社区。。祝你好运
[2014-11-22 07:46:34 - aa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2014-11-22 07:46:34 - aa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
[2014-11-22 08:04:40 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2014-11-22 08:04:40 - aaa] 
[2014-11-22 08:04:40 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
[2014-11-22 08:04:40 - aaa] 
[2014-11-22 08:04:41 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2014-11-22 08:04:41 - aaa] 
[2014-11-22 08:04:41 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
[2014-11-22 08:04:41 - aaa] 
[2014-11-22 08:04:44 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2014-11-22 08:04:44 - aaa] 
[2014-11-22 08:04:44 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
[2014-11-22 08:04:44 - aaa] 
[2014-11-22 08:07:16 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2014-11-22 08:07:16 - aaa] 
[2014-11-22 08:07:16 - aaa] D:\EclipseAndroidWorkspace\Leaning_exercise\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
[2014-11-22 08:07:16 - aaa]