Even though I have deleted some strings from my strings.xml file they still show up in the generated R.java file, cleaning also doesn’t help.
Furthermore there are some weird parts of my own comments inside the R file, has anyone encountered this?
Part of the generated R.java file:
public static final int description_subtitleImage=0x7f050020;
public static final int hello=0x7f050000;
/** Config
Config
*/
public static final int host=0x7f05000f;
public static final int launcher_app_name=0x7f05001a;
public static final int msg_close=0x7f050005;
/** Message texts
Message texts
*/
public static final int msg_error=0x7f050003;
public static final int msg_error_close=0x7f05000e;
Thats a small part of my strings.xml file (with the comment showing up in the R.java file)
<!-- Config -->
<string name="host">Host:</string>
<string name="port">Port:</string>
It seems that comments in xml files of the form:
end up being converted into Javadoc type comments in the generated R.java as:
I suppose this is vaguely useful.