Symbol cannot be resolved
<p>Android Java project, minimal code to reproduce the problem:</p>

<p><code>Constants.java</code>:</p>

<pre><code>package alex.restaurantfinder;

public class Constants {
    public static final String LOGTAG = "...";
}
</code></pre>

<p><code>ReviewCriteria.java</code>:</p>

<pre><code>package alex.restaurantfinder;
import android.app.Activity;

public class ReviewCriteria extends Activity {
    static String s = Constants.LOGTAG;            // error
}
</code></pre>

<p>Error message: </p>

<blockquote>
  <p>Constants.LOGTAG cannot be resolved. </p>
</blockquote>

<p>Where is my error?</p>

<p><strong>Edit</strong>.
The problem was, when I pressed Ctrl+Shft+O in Eclipse, it added this line:</p>

<pre>
import android.provider.SyncStateContract.Constants;
</pre>

<p>It prevented compiler to work with my own Constants class.</p>
