Acabo de iniciar un nuevo proyecto de Android, helloword "para seguir aprendiendo sobre el desarrollo de Android y me quedé perplejo compilando/compilando el 'helloword' predeterminado. Creo que perdí un paso en la configuración y configuración, pero no sé dónde. Tengo un AVD configurado, configurado y puesto en marcha.Android sdk main.out.xml error de análisis
Cuando presiono 'ejecutar como', no puedo encontrar el simulador de android2.1 y encuentro estos errores:
[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.
¿Tiene el elemento de Android bajo Window-> Preferencias? ¿Has probado ejecutar ejecutar (Ctrl + F11 desde el archivo java, no xml)? Y elimine el archivo activity_main.out.xml; es incorrecto y, por lo general, se genera cuando intenta ejecutar ejecutar desde un archivo xml. – sandrstar
lee esto http://code.google.com/p/android/issues/detail?id=3767 –