2014-10-18 16 views
19

Właśnie zaktualizowane moje bibliotek kiedy Android 5.0 został lunched dzisiajbłąd po aktualizacji biblioteki support

jeden z plików, który został aktualizowanych jest android-support-V7. potem trzymałem się tych błędów

[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'. 
[2014-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 
[2014-10-18 01:05:34 - android-support-v7-appcompat] C:\Program Files (x86)\adt-bundle-windows-x86_64-20140702\sdk\extras\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-10-18 01:05:34 - android-support-v7-appcompat] 

próbowałem usuwając bibliotekę od kierownika SDK i pobrać go ponownie

Próbowałem usuwając bibliotekę i orzeźwiające mój projekt i usuwanie każdy wiersz w ścieżce kompilacji o Androidzie -support-V7-AppCompat

i kiedy ponownie skonfigurować kąpieli importować bibliotekę, a następnie dodać go do mojej ścieżce projektu

nadal praca nic, używam ADT (Android Developer Tools), nie Android Studio

Odpowiedz

39

Modyfikowanie pliku project.properties, która posiada:

target=android-19 

do

target=android-21 

po zmianach Powyższe ścisłej projektu wtedy otwarte i czyste

+0

współpracującego z appcompat, ale nie z mediarouter ... Jednak, bardzo dziękuję ... uratowałeś mnie przed pójściem do Android Studio – MohammedAlSafwan

+5

Dzięki, pomogło mi to . Po prostu uwaga dla innych, wystarczy ustawić ten cel dla projektu android-support-v7. Możesz zachować swoje własne ustawienia projektu bez zmian. –

+0

^Niepoprawnie: http://stackoverflow.com/questions/23231174/appcompat-v7-error-retrieving-parent-for-item-noource-found-that-matches-t – worked

2

Aby przełączyć się do wersji API v21 biblioteki compat i support, należy również przełączyć się na compileSdkVersion 21 i buildToolsVersion '21 .0.1 '.

W Android Studio ustawiasz je w build.gradle. W ADT nie pamiętam, jak je ustawić.

+0

Dziękuję za odpowiedź Mam nadzieję, że ktoś na Androidzie Studio użyje tego – MohammedAlSafwan

0

utworzyć nowe miejsca pracy po tym próby utworzenia nowy projekt android z min sdk 2.3 to automatycznie zaimportuje twoje appcompact lib po tym, że zadziała to zadziała ze mną

0

Moje rozwiązanie podobnego błędu;

1) Zainstalowałem 21 api z menedżerem sdk.

2) Zmieniłem gromadzeniu cel mojego projektu do 21. i Zmieniłem v7-AppCompat cel kompilacji biblioteki do 21.

i ostatecznie myślę projektów wsparcie biblioteczne (v7-AppCompat lub v7-GridLayout) musi być w pracy.

0

przypadku korzystania zaćmienie upewnij się, że zostały zaktualizowane z tych narzędzi SDK Manager-

  1. Platforma Android 5.0 (API 21) -SDK
  2. repozytorium wsparcie Android
  3. wsparcie Android biblioteka
  4. Google Play Usługi
  5. Google Repository
  6. Najnowsze narzędzia do budowania

Po zaktualizowaniu wszystkich z nich zaimportuj projekt v7 i otwórz projekt .właściwości pliku pliku android-support-v-appcompat i zmień cel z target = android-19 na target = android-21.

Oczyść projekt i możesz już iść.

Powiązane problemy