R.java: Syntax error on tokens
<p>I'm very new to Android development (have some Obj-C experience with Cocoa Touch though). I was testing my first Android app as I encountered these syntax errors:</p>

<blockquote>
  <p>Syntax error on token "100000", invalid VariableDeclaratorId</p>
  
  <p>Syntax error on token "11", delete this token</p>
  
  <p>Syntax error on token "2", delete this token</p>
  
  <p>Syntax error on token "5000", invalid VariableDeclaratorId</p>
  
  <p>Syntax error on token "61", invalid VariableDeclaratorId</p>
  
  <p>Syntax error on token "69", invalid VariableDeclaratorId</p>
</blockquote>

<p>When I double clicked them, they appeared to be in the file <code>R.java</code> and I have no idea how they are caused. </p>

<pre><code>   public static final class drawable {
        public static final int 100000=0x7f020000;
        public static final int 11ba=0x7f020001;
        public static final int 2values=0x7f020002;
        public static final int 5000=0x7f020003;
        public static final int 61=0x7f020004;
        public static final int 69=0x7f020005;
   .....
</code></pre>

<p>It would be great if someone can tell how this is caused.</p>

<p>[updates]</p>

<p><a href="http://stackoverflow.com/users/2305826/marsatomic">MarsAtomic</a> suggested that it is caused by not following the naming conventions for Android resources and perhaps having rawables named "5000", "69", which is, as a matter of fact, true in this case. </p>

<p>After changing the names, these exceptions didn't occur anymore. </p>

<p>But I would still like to know why having images in numeral names would trigger this. Thanks.</p>
