2014-11-02 15 views
7

Eclipse kullanıyorum, appcompat lib projeme ekledim ve aniden R.java dosyası üretmiyor. Ancak konsolumda, projeyi her temizlediğimde böyle gösteriyor.R.java, appcompat v7 nedeniyle üretmiyor mu?

[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'. 

Bu benim Dosya yapısı

Ben robot stüdyoya bu projeyi göç etmeye çalıştık olduğunu. Gradle dosyası da bu Hata nedeniyle oluşturmuyor. Yani bu aşmak için iyi bir yol öner ... Lütfen

+1

görünüyor. Bu konuda daha fazlasını okuyun [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 Ben zaten bu Post & Tried Her şey gördüm. – AruLNadhaN

+0

1) appcompat projenizin bir kütüphane projesi 2 olup olmadığını kontrol edebilir misiniz?) Hatalar yok, yani appcompat/bin beklenen jar dosyaları içerir – kiruwka

cevap

5
Android 5.0

için AppCompat inşa hedefini değiştirme

peşin Teşekkür Sonra proje çok .. sonra onu yeniden

Sorununu anlıyorum
+0

Sen güzel çalıştıran muhteşem piç. – twig

0

, Herhangi bir güncelleme yaptıysanız ve önceki SDK Oluşturma Araçlarını sildiyseniz, bunun nedeni Android'in yanlış sürümünü hedeflemektir. Hedefi değiştirirseniz, silinen SDK Oluşturma araçlarını çalıştırır veya yeniden yükler, sorunu da çözer. Bu, Android'i ilk başlattığımda alıştığım aynı sorundur. :) En iyi

0

Aynı sorunu yaşıyorum. En son SDK Araçları, SDK Platform araçları ve SDK Yapı Araçları'a güncelledikten sonra her şey yeniden derlenir. En son sürümlerin kurulu olduğundan emin olun.

enter image description here

0

Hey arkadaş dikkatlice Eğer Android 5.0 için sdk ve set hedefi güncelleyin güncel sdk yok ve sürüm aşağı üzerinde çalışacak uygulamanızı üzülmeyin eğer sürüm 21 bazı sorun var demektir sizin hata günlüğü V21 okumak sağladığınız min sdk'ye kadar, hata kaydına göre hedef sdk'yi değiştirmeniz gerekir. Eğer `AppCompat-v7` project.properties düzgün` target` set değil gibi

Teşekkür

İlgili konular