Error i R.java: "Syntax error on token 'int', VariableDeclaratorId expected after this token"
<p>This morning when I opened up Eclipse to work on an Android project I got an error inside the R.java file.</p>

<p>I know what the error is, but I can't seem to grasp how to fix it ;\</p>

<p>The code where the error is:</p>

<pre><code>public static final class string {
    public static final int =0x7f040010;
    public static final int app_name=0x7f040000;
</code></pre>

<p>As you can see, the first field doesn't have a name and that gives an error of course.</p>

<p>Problem is when I delete the file and it's auto generated again, the error is still there.
If I try to manually change or delete the field it doesn't help. Still an error.</p>

<p>Tried to restart Eclipse - no difference. Tried to clean up the project and I've tried to "fix project properties" from the Android tools menu.</p>

<p>Anyone? It's really annoying as I can't continue with my project. I might have to delete the  project and copy the classes, xml and drawables, but I'd rather not - hate doing cumbersome work :S</p>
