Ich habe gerade ein neues Android-Projekt gestartet, Helloword "weiter Android-Entwicklung zu lernen, und ich stumped Kompilierung der Standard 'Helloword' Compile/run. Ich denke, dass ich einen Schritt in der Konfiguration verpasst und Setup, aber ich bin nicht in der Lage, herauszufinden, wo. Ich habe eine AVD konfiguriert, eingestellt und gestartet.Android sdk main.out.xml Parsing-Fehler
Wenn ich 'run as' drücken, kann ich nicht finden, android2.1 simulator.and finden diese Fehler:
[2012-07-25 08:59:49 - helloword] res\layout\activity_main.xml:0: error: Resource entry activity_main is already defined.
[2012-07-25 08:59:49 - helloword] res\layout\activity_main.out.xml:0: Originally defined here.
[2012-07-25 08:59:49 - helloword] E:\android软件开发\新建文件夹\helloword\res\layout\activity_main.out.xml:1: error: Error parsing XML: no element found
[2012-07-25 10:03:12 - helloword] /helloword/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2012-07-25 10:03:13 - helloword] /helloword/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2012-07-25 10:03:15 - helloword] File is Out of sync
[2012-07-25 10:05:13 - helloword] /helloword/gen already exists but is not a source folder. Convert to a source folder or rename it.
[2012-07-25 10:08:44 - helloword] activity_main.out.xml is out of sync. Please refresh.
[2012-07-25 10:08:45 - helloword] activity_main.out.xml is out of sync. Please refresh.
Sie unter Einstellungen Window-> Android Artikel? Hast du den Startlauf versucht (Strg + F11 aus der Java-Datei, nicht aus XML)? Und entfernen Sie die Datei activity_main.out.xml - sie ist falsch und wird normalerweise generiert, wenn Sie versuchen, von der XML-Datei zu starten. – sandrstar
lesen Sie diese http://code.google.com/p/android/issues/detail?id=3767 –