R cannot be resolved to a variable when modify xml file?
<p>i create source file : loadanim.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;animation-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;item android:drawable="@drawable/abc1" android:duration="60" /&gt;
    &lt;item android:drawable="@drawable/abc2" android:duration="60" /&gt;
&lt;/animation-list&gt;
</code></pre>

<p>when i built, R not auto gen. Mess error : R cannot resolve ....
But when i clear <code>&lt;item&gt;</code> in file :</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;animation-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
//Clear
&lt;/animation-list&gt;
</code></pre>

<p>and built >> class R created.
Now, i can do ?
so bad ...</p>
