Beim Importieren des Wiktionary-Projekts in Eclipse, erhalte ich sofort Fehlermeldungen in Bezug auf meine strings.xml
-Datei. Die gleichen Fehler treten auf, wenn ich das Projekt über Subversion oder aus den SDK-Beispieldateien herunterlade.Erstellungsfehler beim Importieren von Wiktionary
Console Fehler:
[2010-12-27 15:25:33 - Wiktionary] W/ResourceType(2752): Bad XML block: header size 62 or total size 0 is larger than data size 0
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\values\strings.xml:22: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\values\strings.xml:22: error: Unexpected end tag string
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\layout\widget_message.xml:24: error: Error: No resource found that matches the given name (at 'text' with value '@string/widget_loading').
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\xml\searchable.xml:17: error: Error: No resource found that matches the given name (at 'label' with value '@string/search_label').
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\xml\searchable.xml:17: error: Error: No resource found that matches the given name (at 'hint' with value '@string/search_hint').
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\menu\lookup.xml:19: error: Error: No resource found that matches the given name (at 'title' with value '@string/lookup_search').
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\menu\lookup.xml:24: error: Error: No resource found that matches the given name (at 'title' with value '@string/lookup_random').
[2010-12-27 15:25:33 - Wiktionary] C:\Trunk\Wiktionary\res\menu\lookup.xml:29: error: Error: No resource found that matches the given name (at 'title' with value '@string/lookup_about').
Ich schätze die Antwort. Hat die Änderung immer noch den Fehler bekommen. Ich habe anscheinend ein Problem mit widget_word.xml und es ist in der Eclipse xd. Könnte ich die falsche strings.xml oder widget_word.xml haben? – user555361
War vor demselben Fehler mit 2.2 Beispiel von SearchableDictionary. Dein Vorschlag hat es behoben. –