title: How to import R into Android project?
body: <p>I've downloaded a couple of example Android projects to learn <a href="http://ormlite.com/" rel="nofollow">ORMLite</a>. I constantly get this error saying <code>R cannot be resolved to a variable</code>. So I just do a CTRL+Shift+O to automatically import all dependencies. This then inserts <code>import android.R;</code> which unfortunately doesn't solve the problem.</p>
  
  <p>Since the package name is <code>com.test;</code> I tried to do <code>import com.test.R;</code> but that doesn't work either. </p>
  
  <p>Does anybody know how I can solve this?</p>