Android Probleme mit Eclipse?

bruce85

Bekanntes Mitglied
Hallo,
seit kurzer Zeit habe ich Probleme meine Projekte wieder in Eclipse erfolgreich zu Importieren.

"appcompat_v7" scheint nicht richtig zu funktionieren, ich hab mal ein Screen im anhang hochgeladen.

Eclipse zeigt mir folgende Fehlermeldungen unter Problems->Errors an:
Code:
Description	Resource	Path	Location	Type
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.	styles_base.xml	/appcompat_v7/res/values-v21	line 101	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.	styles_base.xml	/appcompat_v7/res/values-v21	line 97	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'.	styles_base.xml	/appcompat_v7/res/values-v21	line 93	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.	styles_base.xml	/appcompat_v7/res/values-v21	line 158	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.	styles_base.xml	/appcompat_v7/res/values-v21	line 154	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.	styles_base.xml	/appcompat_v7/res/values-v21	line 150	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.	styles_base.xml	/appcompat_v7/res/values-v21	line 146	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.	styles_base.xml	/appcompat_v7/res/values-v21	line 174	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.	styles_base.xml	/appcompat_v7/res/values-v21	line 172	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'.	styles_base.xml	/appcompat_v7/res/values-v21	line 168	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'.	styles_base.xml	/appcompat_v7/res/values-v21	line 164	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'.	styles_base.xml	/appcompat_v7/res/values-v21	line 126	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'.	styles_base.xml	/appcompat_v7/res/values-v21	line 121	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'.	styles_base.xml	/appcompat_v7/res/values-v21	line 107	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'.	styles_base.xml	/appcompat_v7/res/values-v21	line 110	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'.	styles_base.xml	/appcompat_v7/res/values-v21	line 132	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'.	styles_base.xml	/appcompat_v7/res/values-v21	line 129	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.	styles_base.xml	/appcompat_v7/res/values-v21	line 143	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.	styles_base.xml	/appcompat_v7/res/values-v21	line 138	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'.	styles_base.xml	/appcompat_v7/res/values-v21	line 61	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v14	line 53	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'.	styles_base.xml	/appcompat_v7/res/values-v21	line 57	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.	styles_base.xml	/appcompat_v7/res/values-v21	line 53	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v14	line 45	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.	styles_base.xml	/appcompat_v7/res/values-v21	line 49	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.	styles_base.xml	/appcompat_v7/res/values-v21	line 115	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.	styles_base.xml	/appcompat_v7/res/values-v21	line 113	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.	styles_base.xml	/appcompat_v7/res/values-v21	line 182	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'.	styles_base.xml	/appcompat_v7/res/values-v21	line 178	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.	styles_base.xml	/appcompat_v7/res/values-v21	line 37	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.	styles_base.xml	/appcompat_v7/res/values-v21	line 33	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.	styles_base.xml	/appcompat_v7/res/values-v21	line 29	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.	styles_base.xml	/appcompat_v7/res/values-v21	line 25	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'.	styles_base.xml	/appcompat_v7/res/values-v21	line 45	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'.	styles_base.xml	/appcompat_v7/res/values-v21	line 69	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'.	styles_base.xml	/appcompat_v7/res/values-v21	line 65	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.	styles_base.xml	/appcompat_v7/res/values-v21	line 41	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.	styles_base.xml	/appcompat_v7/res/values-v21	line 83	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.	styles_base.xml	/appcompat_v7/res/values-v21	line 79	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.	styles_base.xml	/appcompat_v7/res/values-v21	line 75	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v14	line 37	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v14	line 29	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 28	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 30	Android AAPT Problem
The project cannot be built until build path errors are resolved	Test		Unknown	Java Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 32	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Subhead'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 34	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 36	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.ActionBar'.	themes_base.xml	/appcompat_v7/res/values-v21	line 219	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 38	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark'.	themes_base.xml	/appcompat_v7/res/values-v21	line 205	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 40	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Light'.	themes_base.xml	/appcompat_v7/res/values-v21	line 212	Android AAPT Problem
The container 'Android Dependencies' references non existing library 'C:\Users\Christian\workspace\appcompat_v7\bin\appcompat_v7.jar'	Test		Build path	Build Path Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 42	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material'.	themes_base.xml	/appcompat_v7/res/values-v21	line 202	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.	themes_base.xml	/appcompat_v7/res/values-v21	line 84	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.	themes_base.xml	/appcompat_v7/res/values-v21	line 83	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorAccent'.	themes_base.xml	/appcompat_v7/res/values-v21	line 81	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 62	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark.ActionBar'.	themes_base.xml	/appcompat_v7/res/values-v21	line 223	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 20	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorAccent'.	themes_base.xml	/appcompat_v7/res/values-v21	line 118	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 22	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.	themes_base.xml	/appcompat_v7/res/values-v21	line 80	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 24	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.	themes_base.xml	/appcompat_v7/res/values-v21	line 79	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 26	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.	themes_base.xml	/appcompat_v7/res/values-v21	line 82	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light.Dialog'.	themes_base.xml	/appcompat_v7/res/values-v21	line 41	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Dialog'.	themes_base.xml	/appcompat_v7/res/values-v21	line 36	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light'.	themes_base.xml	/appcompat_v7/res/values-v21	line 31	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'.	themes_base.xml	/appcompat_v7/res/values-v21	line 26	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 60	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 46	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 48	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 50	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 52	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 54	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 56	Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'.	styles_base_text.xml	/appcompat_v7/res/values-v21	line 58	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.	themes_base.xml	/appcompat_v7/res/values-v21	line 191	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v11	line 345	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v11	line 338	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v11	line 359	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.	themes_base.xml	/appcompat_v7/res/values-v11	line 352	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.	themes_base.xml	/appcompat_v7/res/values-v21	line 116	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.	themes_base.xml	/appcompat_v7/res/values-v21	line 119	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.	themes_base.xml	/appcompat_v7/res/values-v21	line 121	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.	themes_base.xml	/appcompat_v7/res/values-v21	line 120	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.	themes_base.xml	/appcompat_v7/res/values-v21	line 158	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.	themes_base.xml	/appcompat_v7/res/values-v21	line 157	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorAccent'.	themes_base.xml	/appcompat_v7/res/values-v21	line 155	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.	themes_base.xml	/appcompat_v7/res/values-v21	line 117	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorAccent'.	themes_base.xml	/appcompat_v7/res/values-v21	line 192	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.	themes_base.xml	/appcompat_v7/res/values-v21	line 154	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.	themes_base.xml	/appcompat_v7/res/values-v21	line 153	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.	themes_base.xml	/appcompat_v7/res/values-v21	line 156	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.	themes_base.xml	/appcompat_v7/res/values-v21	line 190	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.	themes_base.xml	/appcompat_v7/res/values-v21	line 193	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.	themes_base.xml	/appcompat_v7/res/values-v21	line 195	Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.	themes_base.xml	/appcompat_v7/res/values-v21	line 194	Android AAPT Problem

Leider weiss ich jetzt nicht, wie ich das Problem beheben kann.
Ich habe mehrfach Eclipse neu heruntergeladen und Installiert, aber garnichts hat geholfen.

Wie könnte ich das Problem jetzt ambesten lösen?
Ich danke euch schonmal für die Hilfe.

Gruss
 

Anhänge

  • Screen.png
    Screen.png
    15,3 KB · Aufrufe: 58
Zuletzt bearbeitet:

dzim

Top Contributor
Hast du das Android-Plugin mal geupdated? Es gibt ja anscheinend ein Problem im res-Ordner. Was genau ist das für einer? Evtl. mal die Projekt-Properties von appcompat_v7 anpassen...

Ich hab damit noch nichts gemacht, aber was macht appcompat_v7 eigentlich? Sieht ja so aus, als wolltest du Material-Design umsetzen...
 

bruce85

Bekanntes Mitglied
Danke erstmal.

Ja, Eclipse erzeugt "appcompat_v7" automatisch, wenn ich ein neues Projekt erstelle.
Dort befinden sich Material-Designs und möchte diese auch verwenden, nur erhalte ich immer Errors.

Eclipse findet keine Updates für Android, also müsste es anscheinend aktuell sein.
Nur verstehe ich nicht, wieso ich jetzt nicht mehr Eclipse für Android verwenden kann, hatte gestern deswegen Windows erneut Installiert, da ich einfach keinen fehler gefunden hatte.

Wenn ich bei Eclipse Android-SDK erneut Installieren möchte unter Help->Install New Software..., dann findet er auch keins mehr, da Android-SDK ja bereits Installiert ist.

Wie könnte ich das Problem jetzt noch lösen?

Gruss
 

dzim

Top Contributor
Windows neu installiert? Seriously? Du schiesst mit Kanonen auf Spatzen!

Ich vermute, wie gesagt, dass hier eher etwas mit deinem SDK (oder besser mit dem importierten appcompat_v7) schief ist.

mach mal folgendes: Lösche das Projekt "appcompat_v7" und füge es über Import > Android > ... from existing Code wieder hinzu (Root ist SDK-Dir/extras/google/v7 glaub ich)
 

bruce85

Bekanntes Mitglied
Danke Dir.
Windows neu Installieren war sowieso mal nötig, da meine ganze Festplatte zugemüllt war und ich viele fehler im Betriebsystem hatte.

Das habe ich auch schon oft gemacht und erhalte die gleichen fehlermeldungen.

Hier sind mal Paar xml Dateien, die fehlerhaft sind:
android-support-v7-appcompat->res->values_v11->themes_base.xml
Code:
<style name="Base.Theme.AppCompat" parent="Base.V11.Theme.AppCompat">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>

    <style name="Base.Theme.AppCompat.Light" parent="Base.V11.Theme.AppCompat.Light">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>

    <style name="Base.Theme.AppCompat.Dialog" parent="Base.V11.Theme.AppCompat.Dialog">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>

    <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V11.Theme.AppCompat.Light.Dialog">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.


android-support-v7-appcompat->res->values_v14->themes_base.xml
Code:
<style name="Base.Theme.AppCompat" parent="Base.V14.Theme.AppCompat">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeSelectAllDrawable">?actionModeSelectAllDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>

    <style name="Base.Theme.AppCompat.Light" parent="Base.V14.Theme.AppCompat.Light">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeSelectAllDrawable">?actionModeSelectAllDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>

    <style name="Base.Theme.AppCompat.Dialog" parent="Base.V14.Theme.AppCompat.Dialog">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeSelectAllDrawable">?actionModeSelectAllDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>

    <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V14.Theme.AppCompat.Light.Dialog">
        <item name="android:actionModeCutDrawable">?actionModeCutDrawable</item>
        <item name="android:actionModeCopyDrawable">?actionModeCopyDrawable</item>
        <item name="android:actionModePasteDrawable">?actionModePasteDrawable</item>
        <item name="android:actionModeSelectAllDrawable">?actionModeSelectAllDrawable</item>
        <item name="android:actionModeShareDrawable">?actionModeShareDrawable</item>
    </style>
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.


android-support-v7-appcompat->res->values_v21->styles_base_text.xml, styles_base.xml und themes_base.xml, konnten auch einige resourcen nicht gefunden werden, werde Sie natürlich jetzt nicht Posten, da das sehr Viele Quellcodes sind.

Ich weiss jetzt nicht, wie ich das alles beheben kann.

Gruss
 
Zuletzt bearbeitet:

dzim

Top Contributor
Ist es möglich, das appcompat selbst noch Abhängigkeiten hat? Zum Beispiel auf die support_v4-Lib?

Wie gesagt: Habe sie noch nicht verwendet, daher kann ich nur mutmassen.
Ich habe dazu gerade mal folgendes probiert:
- Habe die Lib importiert und eine Reihe von Fehlern erhalten (in res/values-v11 - und v17 und v21 glaub ich)
- clean: kein Ergebniss
- Properties von diesem Lib-Projekt geöffnet (rechte Maustause und Properties auf dem Projekt-Ordner oder Alt+Enter)
- Bereich "Android"
- das Häckchen von Android 4.4.2 (so war es bei mir) auf 5.0 umgesetzt
- clean: keine Fehler mehr
 

bruce85

Bekanntes Mitglied
Ich habe 5.0 zwar runtergeladen aber es vergessen den Hacken zu setzen.
Jetzt funktioniert es endlich.

Vielen Dank für deine Hilfe.

Gruss
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
J Android Probleme mit BLE-Notify Android & Cross-Platform Mobile Apps 2
J Android Probleme mit der Realm Datenbank Android & Cross-Platform Mobile Apps 3
J Android Probleme mit Navigation-Fragments? Android & Cross-Platform Mobile Apps 0
N Probleme mit custom dynamic ListView Android & Cross-Platform Mobile Apps 15
B Android Probleme mit Android Studio Android & Cross-Platform Mobile Apps 6
B Android Probleme mit Realm Datenbank Android & Cross-Platform Mobile Apps 2
B Android Probleme mit ArrayList Android & Cross-Platform Mobile Apps 6
J Android Probleme mit FileProvider Android & Cross-Platform Mobile Apps 1
B Probleme mit Firebase Authentication Android & Cross-Platform Mobile Apps 25
H Android Probleme mit SearchView in ArrayAdapter Android & Cross-Platform Mobile Apps 7
ATZENPOWER Android Probleme mit mobilen Daten via lte Android & Cross-Platform Mobile Apps 10
S Android Probleme beim Verbinden mit einer HTTPS Seite Android & Cross-Platform Mobile Apps 4
B Android Probleme mit RealmObject? Android & Cross-Platform Mobile Apps 1
M Android ExpandableListView merkwürdige Probleme Android & Cross-Platform Mobile Apps 20
F Probleme mit Google-Maps Android & Cross-Platform Mobile Apps 0
B Android Probleme mit ViewPager? Android & Cross-Platform Mobile Apps 5
J Probleme mit ViewPager und Activity Android & Cross-Platform Mobile Apps 1
E MAVLINK Probleme Android & Cross-Platform Mobile Apps 1
C Android Probleme mit JavaMail Android & Cross-Platform Mobile Apps 5
B Android Probleme mit Facebook-SDK? Android & Cross-Platform Mobile Apps 1
D Android Probleme mit info/warning (1, 902) Android & Cross-Platform Mobile Apps 4
D Android Gallery Probleme Android & Cross-Platform Mobile Apps 3
B Probleme mit App auf Galaxy S3? Android & Cross-Platform Mobile Apps 13
S Hat der AVD-Manager Probleme mit GPS? Android & Cross-Platform Mobile Apps 5
P Probleme mit xml-Layout Android & Cross-Platform Mobile Apps 2
P Android Probleme mit Spinner Android & Cross-Platform Mobile Apps 3
F Layout mit listViews (Scrolling-Probleme) Android & Cross-Platform Mobile Apps 2
A Android Probleme mit Dialog Android & Cross-Platform Mobile Apps 4
U SQLite-Datenbank Probleme Android & Cross-Platform Mobile Apps 8
T Android Probleme bei Facebook Integration Android & Cross-Platform Mobile Apps 5
tfa Android Layout-Probleme: View programmatisch erweitern (addContentView) Android & Cross-Platform Mobile Apps 7
A Probleme mit ListView / ArrayAdapter Android & Cross-Platform Mobile Apps 3
A Probleme mit Form.isShown Android & Cross-Platform Mobile Apps 9
A Probleme mit Calendar auf dem Handy Android & Cross-Platform Mobile Apps 3
U Probleme mit der drawString Methode bei Canvas Android & Cross-Platform Mobile Apps 8
P Probleme mit dem Deployment Android & Cross-Platform Mobile Apps 3
P Probleme mit Streams Android & Cross-Platform Mobile Apps 4
C 2 kleine Probleme (Datei lesen, String durchsuchen) Android & Cross-Platform Mobile Apps 16
G Proguard Obfuscator macht Probleme Android & Cross-Platform Mobile Apps 2
P Probleme mit RMS Android & Cross-Platform Mobile Apps 5
ruutaiokwu Auto-Import der benötigten Klassen, wie bei Eclipse Ctrl-Shift-O Android & Cross-Platform Mobile Apps 9
T Android SDK-Manager startet nicht in Eclipse Android & Cross-Platform Mobile Apps 5
V Android Fehlermeldung beim Öffnen von Eclipse nach Installation der Android Erweiterung Android & Cross-Platform Mobile Apps 4
J Android Breaking Point in Eclipse hält nicht an? Android & Cross-Platform Mobile Apps 5
S Android Eclipse erstellt keine main Activity Android & Cross-Platform Mobile Apps 4
J Eclipse Emulator Problem Android & Cross-Platform Mobile Apps 1
J Eclipse Emulator Problem Android & Cross-Platform Mobile Apps 0
T Kamerazugriff eclipse auf Samsung Tab Android & Cross-Platform Mobile Apps 0
G Absolute Anfängerfrage bezüglich Eclipse Android & Cross-Platform Mobile Apps 9
R Eclipse + AndroidSDK - Problem mit Referenzen Android & Cross-Platform Mobile Apps 6
X Android Handy mit Eclipse verbinden Android & Cross-Platform Mobile Apps 1
W Eclipse update - Systemprozess reagiert nicht mehr Android & Cross-Platform Mobile Apps 4
T Android Handy in Eclipse einbinden Android & Cross-Platform Mobile Apps 34
A Fehlermeldung nach Neuinstallation von Eclipse/bestehenden Projekten... Android & Cross-Platform Mobile Apps 2
G Android Einbindung von externen Dateien in Eclipse Projekt Android & Cross-Platform Mobile Apps 8
R Eclipse findet SDK nicht Android & Cross-Platform Mobile Apps 5
B Android Eine Warnung in der Console (Eclipse) auswerten Android & Cross-Platform Mobile Apps 3
A Android App Deployment Eclipse Android & Cross-Platform Mobile Apps 7
S Android Android Eclipse Plugin lässt sich nicht installieren Android & Cross-Platform Mobile Apps 4
M Eclipse: cdc.jar in eine Midlet Suite integrieren Android & Cross-Platform Mobile Apps 18
F Eclipse JAD File erzeugen -- Problem Android & Cross-Platform Mobile Apps 10
P Prob mit Eclipse und J2ME SDK Android & Cross-Platform Mobile Apps 4
P eclipse + eclipsME funkst nicht Android & Cross-Platform Mobile Apps 2

Ähnliche Java Themen

Neue Themen


Oben