 <p>You don't import one of them.</p> <p>When referring to 2 classes that have the same name, only one can be imported. The second one needs to be referred to by it's fully qualified name, like so:</p> <pre><code>import android.content.res.Configuration; [...] // This is android.content.res.Configuration Configuration config = ...; // This is com.apphance.android.common.Configuration com.apphance.android.common.Configuration conf = ...; </code></pre>