When you edit an Android XML file in Eclipse, build fails and main.out.xml is created. Fix it by disabling XSL transformation build and set to always build the last build.
Eclipse: Window: Preferences: Run/Debug: Launching:
- Launch Operation -> Always Launch the previously launched application
- Lauch Configuration: Filter checked launch configuration types: XSL
These two solved the problem. Tested on multiple Ubuntu Linux computers. The options have slightly different names on different versions of Eclipse.
Based on tips by Lance Lefebure on StackOverflow and Hugo Garcia-Cotte on StackOverflow.