Pages

Sunday, May 13, 2012

Main.Out.Xml empty-Android Error

Eclipse creates an Main.Out.Xml empty file while compling android

If you try to run your project with *.xml file opened AND active in the editor (xml file must be shown in the active tab of the editor), Eclipse makes the *.out.xml file and your project does not run anymore.
Try to delete the *.out.xml file and run the project again. This time close main.xml first, or at least display *.java file in front of it.