2014-11-02 2 views
7

Eclipse를 사용 중입니다. appcompat lib를 프로젝트에 추가했고 갑자기 R.java 파일이 생성되지 않습니다. 하지만 콘솔을 청소할 때마다 콘솔에 표시됩니다.v7의 appcompat로 인해 R.java가 생성되지 않습니다?

[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\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-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\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-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:69: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:45: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:113: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:110: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:107: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:126: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:138: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:143: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:132: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:146: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:150: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:154: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:158: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:164: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:168: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:172: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:174: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:93: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:97: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base.xml:101: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:62: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:34: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Subhead'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:38: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:42: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:46: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:50: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:54: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:56: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\styles_base_text.xml:58: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'. 
[2014-11-02 18:50:16 - Client] 
[2014-11-02 18:50:16 - Client] G:\ProgramZ\workspace\android-support-v7-appcompat\res\values-v21\themes_base.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'. 

이 내 파일 구조

나는 안드로이드 스튜디오에이 프로젝트를 마이그레이션하려고합니다. 이 오류로 인해 Gradle 파일도 생성되지 않습니다. 그래서이를 극복 할 수있는 좋은 방법을 제안하십시오 ...

+1

보인다. 이에 대한 자세한 내용은 [StackO-Post] (http://stackoverflow.com/questions/26431676/appcompat-v721-0-0-no-resource-found-that-matches-the-given-name-attr- andro/26449172 # 26449172) – reVerse

+0

@reVerse 나는 이미 그 글 & Tried Everything을 보았습니다. – AruLNadhaN

+0

1) appcompat 프로젝트가 라이브러리 프로젝트인지 2) 오류가 없는지, 즉 appcompat/bin에 예상되는 jar 파일이 포함되어 있는지 확인할 수 있습니까? – kiruwka

답변

5
안드로이드 5.0

에 APPCOMPAT 빌드 대상을 변경

사전에 감사합니다 그런 다음 프로젝트가 너무 .. 다음을 다시

나는 당신의 문제를 이해
+0

너는 아름답게 일한 장엄한 자식이다. – twig

0

, u가 업데이트를하고 이전 SDK 빌드 도구를 삭제 한 경우 그 이유가 잘못된 버전의 Android를 타겟팅하고 있습니다. 대상을 변경하면 삭제 된 SDK 빌드 도구가 실행되거나 다시 설치되므로 문제가 해결됩니다. 이것은 내가 처음 안드로이드를 시작할 때 사용했던 것과 같은 문제입니다. :) 최고

0

나는 동일한 문제점이 있습니다. 최신 SDK 도구로 업데이트 한 후, SDK 플랫폼 도구SDK 빌드 도구 모든 항목이 다시 컴파일됩니다. 최신 버전이 설치되어 있는지 확인하십시오.

enter image description here

0

이봐 친구 신중하게 5.0 안드로이드 사용자의 SDK를 설정하고 목표를 업데이트하십시오 업데이트 된 SDK를 해달라고 버전 아래에 작동하여 응용 프로그램을 걱정하지 않는 경우 버전 (21)는 몇 가지 문제가 의미하여 오류 로그 V21 읽기 귀하가 제공 한 min sdk까지는 오류 로그 당 목표 sdk를 변경해야합니다. 당신은`APPCOMPAT-v7` project.properties에 제대로`target`을 설정하지 않은 것처럼

감사

관련 문제