When I tried to do a simple modification of the “hello android” program that eclipse adt plugin generates I get error and can’t get the program to run again even if I restore the file to its original contents. The modification was that I changed a string in strings.xml. the line was:
<string name="app_name">Todo List</string>
and the app was runnable, then I changed it to
<string name="app_name">Todo List1</string>
and it was an error:
[2010-04-21 23:18:03 - Todo_list] Error in an XML file: aborting build.
And a new empty file also showed up called: strings.out.xml
And then I can’t get the prrogram back into runnable state even if I delete the empyt file and restore the original line, I’m a confused beginner of java, android and eclipse.
This bug crops up on some machines when you build while focusing on an xml file in eclipse.
To avoid this, always have focus on a .java file when building. In addition, always delete any .out files produced because you won’t be able to build with them around.