I have been working on an app for some time in eclipse. I am using ADT, Build: v22.0.1-685705. The other day, I accidentally named a string with a space in the name. I eventually fixed the name, but in the R.java file, it still has a space in it. Because of the space, it says that there is a syntax error and I need to delete the second word. Unfortunately, because it is a generated file, whenever I delete it, it reverts to the generated version. I have run the clean command but the variable is still there. Here is where the variable is located in the R.java:
public static final class id {
public static final int Last Update=0x7f090001;
}
This is the string that caused it:
<string name="Last Update">Last Updated: July 8, 2013</string>
Even after removing the space in strings.xml, it still generates it in R.java with a space. I have done a lot of work on this app and I really don't want to have to restart. What should I do to fix this?